setlang will now display a dialog to confirm with the user that they would like to change their interface language. The preferred language will only be updated if the user confirms. The dialog will be displayed if the setlang parameter is present in the query string and, * A user is logged in, and their preferred language is not the same as the one passed via setlang. * For an anonymous user if the wgULSAnonCanChangeLanguage is true, and the current interface language is not the same as the one passed via setlang. Bug: T63115 Change-Id: I882297d99a594fd82fd0aec3b4664e8bfd1eac3a
28 lines
1.3 KiB
JSON
28 lines
1.3 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Brad Jorsch",
|
|
"Nike",
|
|
"Amire80",
|
|
"Purodha",
|
|
"Santhosh Thottingal"
|
|
]
|
|
},
|
|
"apihelp-languagesearch-description": "Search for language names in any script.",
|
|
"apihelp-languagesearch-summary": "Search for language names in any script.",
|
|
"apihelp-languagesearch-param-search": "Search string.",
|
|
"apihelp-languagesearch-param-typos": "Number of spelling mistakes allowed in the search string.",
|
|
"apihelp-languagesearch-example-1": "Search for \"Te\"",
|
|
"apihelp-languagesearch-example-2": "Search for \"ഫി\"",
|
|
"apihelp-languagesearch-example-3": "Search for \"ഫി\", allowing one typo",
|
|
"apihelp-ulslocalization-description": "Get the localization of ULS in the given language.",
|
|
"apihelp-ulslocalization-summary": "Get the localization of ULS in the given language.",
|
|
"apihelp-ulslocalization-param-language": "Language code.",
|
|
"apihelp-ulslocalization-example-1": "Get Tamil localization",
|
|
"apihelp-ulslocalization-example-2": "Get Hindi localization",
|
|
"apihelp-ulssetlang-description": "Update user's preferred interface language.",
|
|
"apihelp-ulssetlang-summary": "Update user's preferred interface language.",
|
|
"apihelp-ulssetlang-param-languagecode": "The preferred language code.",
|
|
"apierror-ulssetlang-anon-notallowed": "Anonymous users are not allowed to change the interface language."
|
|
}
|