Page MenuHomePhabricator

TemplateData: Parser output stuck in language of user who last saved
Closed, ResolvedPublic



Both show the interface messages in French.

It works fine when userlang is not the default language of the wiki though, e.g. shows the German version.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:44 AM
bzimport added a project: TemplateData.
bzimport set Reference to bz52419.

As I said on IRC, you have to use the language from the ParserOptions, not from the request context, since on save, the parse is done with default options, for link update purposes. So the language that the parser cache is keyed by won't match the user request language.

Change 77222 merged by jenkins-bot:
Use ParserOptions language instead of RequestContext language