Last modified: 2014-06-04 13:06:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 66051 - Get and use the user language to help to maintain a module or a template
Get and use the user language to help to maintain a module or a template
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 2085
  Show dependency treegraph
Reported: 2014-06-02 21:30 UTC by Rical
Modified: 2014-06-04 13:06 UTC (History)
6 users (show)

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


Description Rical 2014-06-02 21:30:15 UTC
In edit phase, to help user or admin to create or maintain a template or a module, a module can display messages in the user or admin language by i18n tables.
Now this is made by a special test, but if the module can get de user language this can become automatic.
To see an abstract:
To see examples:
Comment 1 Brad Jorsch 2014-06-02 21:48:41 UTC
The user language is not likely to be available in Scribunto, as it would cause cache fragmentation issues.
Comment 2 Rical 2014-06-02 23:01:15 UTC
The ask is only to read the user language code by a value or a function getUserLanguageCode() which return "en" or "fr"... Then the module can choose the right table in its own i18n tables. Then the module can display its messages in the best language for the user or the admin who maintains the page or the module.
Comment 3 Brad Jorsch 2014-06-03 16:18:05 UTC
Bottom line: this isn't going to happen unless the feature requested in bug 2085 gets implemented, for all the reasons that feature hasn't been implemented yet.

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