Last modified: 2014-10-25 11:03:29 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 T44326, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42326 - Get user languages from Babel
Get user languages from Babel
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Babel (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: Future release
Assigned To: Wikidata bugs
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-21 14:18 UTC by jeblad
Modified: 2014-10-25 11:03 UTC (History)
12 users (show)

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


Attachments

Description jeblad 2012-11-21 14:18:30 UTC
Make a function to get the user language from the Babel settings as an alternative to the earlier used preferences. This can only be used in pages that is not cached.
Comment 1 Dereckson 2012-11-29 10:39:26 UTC
There are probably better and more expected sources like:
- read the browser accept language setting
- get the browser language

The "Babel tower defining the language" would be an obscure feature, and not intuitive at all: most users willing to set language would first try the preferences pages.

This would be interesting to offer proper localization to people not familiar with our preferences, but I'm doubtful we'll have a lot of people able to write {{#babel:de|en-2|ru-1}} in their user page without knowing the preference.

[Moving to Babel extension, as it's more logical the function is implemented there. Adding wikidata keyword for better tracking. ]
Comment 2 jeblad 2012-11-29 12:41:25 UTC
This is about language fallbacks that is not covered by normal content negotiation, nor by preferences (it is a list of alternate languages). If it is not implemented in Babel it could easily be moved to Wikibase and be done there.
Comment 3 Alex Monk 2013-02-16 21:52:42 UTC
Gerrit change #33505 merged by Reedy on the 16th of January.
Comment 4 denny vrandecic 2013-08-22 14:55:35 UTC
Closed older resolved bugs as verified.

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


Navigation
Links