Page MenuHomePhabricator

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


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



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).

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

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