Last modified: 2014-06-04 13:06:23 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 T68051, the corresponding Phabricator task for complete and up-to-date bug report information.
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
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 2085
Blocks:
  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: ---


Attachments

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:
https://fr.wikisource.org/wiki/Module:ControlArgs/Documentation#Abstract_about_multilingual_evolutions
To see examples:
https://fr.wikisource.org/wiki/Module:ControlArgs/Documentation#Multilingual_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.


Navigation
Links