Last modified: 2014-11-18 17:14:11 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 T75460, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73460 - Sane Lua label access in non-content languages
Sane Lua label access in non-content languages
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks: 73087
  Show dependency treegraph
 
Reported: 2014-11-15 11:34 UTC by Marius Hoch
Modified: 2014-11-18 17:14 UTC (History)
2 users (show)

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


Attachments

Description Marius Hoch 2014-11-15 11:34:52 UTC
It should be possible to get labels with mw.wikibase.getLabel in a user specified language.

Also there should be a mw.wikibase.getLabelUserLanguage function that returns labels in user language and makes sure the parser cache is properly split (by user language).

Having that will prevent people from having to do nasty hacks like https://www.wikidata.org/w/index.php?oldid=164587449

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


Navigation
Links