Last modified: 2014-01-07 14:42:00 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 T60344, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58344 - Consistently use ParserOptions::getUserLang for generating entity pages
Consistently use ParserOptions::getUserLang for generating entity pages
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: 57746
  Show dependency treegraph
 
Reported: 2013-12-11 19:02 UTC by Daniel Kinzler
Modified: 2014-01-07 14:42 UTC (History)
3 users (show)

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


Attachments

Description Daniel Kinzler 2013-12-11 19:02:15 UTC
Currently, some code uses ParserOptions::getUserLang, while most code relies on Context::getLanguage; even ParserOptions::getTargetLanguage was used at some point.

We need to consistently use ParserOptions::getUserLang when generating page content, as to not poison the parser cache.
Comment 1 Gerrit Notification Bot 2013-12-11 19:31:54 UTC
Change 100829 had a related patch set uploaded by Daniel Kinzler:
(bug 58344) use getUserLang for EntityView

https://gerrit.wikimedia.org/r/100829
Comment 2 Gerrit Notification Bot 2013-12-25 14:37:33 UTC
Change 100829 merged by jenkins-bot:
(bug 58344) use getUserLang for EntityView

https://gerrit.wikimedia.org/r/100829

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


Navigation
Links