Last modified: 2014-02-28 23:53:43 UTC
The VisualEditor's user manual is translatable in Meta, which is a Good Thing. Currently the help link uses Special:MyLanguage. This uses the user's UI language as defined on Meta, which is likely not to be the same as the user's UI language on a non-English site. As much as possible, the link should point directly to the user manual in the language that the user is using currently for the UI.
(In reply to comment #0) > The VisualEditor's user manual is translatable in Meta, which is a Good > Thing. > Currently the help link uses Special:MyLanguage. This uses the user's UI > language as defined on Meta, which is likely not to be the same as the user's > UI language on a non-English site. > > As much as possible, the link should point directly to the user manual in the > language that the user is using currently for the UI. What is the recommended solution for this? Hard-code the link to be https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide/<foo>? Wouldn't it be easier for the user's language to properly transfer to MW.org using ULS or whatever?
You could point to Special:MyLanguage/Page/<current ui language>. If the user is logged on mediawiki.org (which is quite likely), their interface language there will still overrule the provided language code :(
(In reply to comment #2) > You could point to Special:MyLanguage/Page/<current ui language>. If the user > is logged on mediawiki.org (which is quite likely), their interface language > there will still overrule the provided language code :( To do this we'd have to have code that explicitly mangles an i18n string. This feels… deeply wrong. :-(