Last modified: 2013-08-02 19:55:06 UTC
https://en.wikipedia.org/wiki/Template:Cite_web/doc?uselang=en#Template_data and https://en.wikipedia.org/wiki/Template:Cite_web/doc#Template_data Both show the interface messages in French. It works fine when userlang is not the default language of the wiki though, e.g. https://en.wikipedia.org/wiki/Template:Cite_web/doc?uselang=de#Template_data shows the German version.
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.
https://gerrit.wikimedia.org/r/#/c/77222/ by Krinkle.
Change 77222 merged by jenkins-bot: Use ParserOptions language instead of RequestContext language https://gerrit.wikimedia.org/r/77222