Page MenuHomePhabricator

Consistently use ParserOptions::getUserLang for generating entity pages
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: major

Details

Reference
bz58344

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:43 AM
bzimport set Reference to bz58344.
bzimport added a subscriber: Unknown Object (MLST).
daniel created this task.Dec 11 2013, 7:02 PM

Change 100829 had a related patch set uploaded by Daniel Kinzler:
(bug 58344) use getUserLang for EntityView

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

Change 100829 merged by jenkins-bot:
(bug 58344) use getUserLang for EntityView

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