Last modified: 2014-02-28 23:53:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53797, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51797 - VisualEditor: As much as possible, the link to the user manual should lead directly to a manual in the user's language
VisualEditor: As much as possible, the link to the user manual should lead di...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
: i18n
Depends on:
Blocks: ve-nonenglish
  Show dependency treegraph
 
Reported: 2013-07-22 10:17 UTC by Amir E. Aharoni
Modified: 2014-02-28 23:53 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Amir E. Aharoni 2013-07-22 10:17:24 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.
Comment 1 James Forrester 2013-07-22 16:09:08 UTC
(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?
Comment 2 Niklas Laxström 2013-07-29 08:32:53 UTC
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 :(
Comment 3 James Forrester 2013-07-29 16:20:05 UTC
(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. :-(

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links