Add i18n for API module help

MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
This commit is contained in:
Brad Jorsch
2014-10-29 16:13:29 -04:00
parent 2aaa5b19d1
commit c689fbb420
4 changed files with 123 additions and 67 deletions

View File

@@ -61,5 +61,15 @@
"ext-uls-input-disable-notification-info-personal": "Notification bubble text when input methods are disabled, appears if the ULS is at personal toolbar",
"ext-uls-input-disable-notification-info-interlanguage": "Notification bubble text when input methods are disabled, appears if the ULS is at interlanguage toolbar",
"ext-uls-language-settings-applying": "Label for apply settings button in language settings screen, while settings being saved. Please keep it short.",
"ext-uls-compact-link-count": "Message next to list of languages which indicates that there are more languages than the ones shown. Parameters:\n* $1 - number of languages"
"ext-uls-compact-link-count": "Message next to list of languages which indicates that there are more languages than the ones shown. Parameters:\n* $1 - number of languages",
"apihelp-languagesearch-description": "{{doc-apihelp-description|languagesearch}}",
"apihelp-languagesearch-param-search": "{{doc-apihelp-param|languagesearch|search}}",
"apihelp-languagesearch-param-typos": "{{doc-apihelp-param|languagesearch|typos}}",
"apihelp-languagesearch-example-1": "{{doc-apihelp-example|languagesearch}}",
"apihelp-languagesearch-example-2": "{{doc-apihelp-example|languagesearch}}",
"apihelp-languagesearch-example-3": "{{doc-apihelp-example|languagesearch}}",
"apihelp-ulslocalization-description": "{{doc-apihelp-description|ulslocalization}}",
"apihelp-ulslocalization-param-language": "{{doc-apihelp-param|ulslocalization|language}}",
"apihelp-ulslocalization-example-1": "{{doc-apihelp-example|ulslocalization}}",
"apihelp-ulslocalization-example-2": "{{doc-apihelp-example|ulslocalization}}"
}