Last modified: 2013-10-16 20:49:42 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 T33216, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31216 - Cite <ref> error messages save UI language text into parser cache
Cite <ref> error messages save UI language text into parser cache
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Kunal Mehta (Legoktm)
http://eo.wikipedia.org/wiki/Citrongo...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-28 18:20 UTC by Brion Vibber
Modified: 2013-10-16 20:49 UTC (History)
5 users (show)

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


Attachments

Description Brion Vibber 2011-09-28 18:20:00 UTC
Reported via IRC -- this Esperanto Wikipedia page http://eo.wikipedia.org/wiki/Citrongor%C4%9Da_barbulo was showing a <ref> error message in French.

Running ?action=purge to clear its cache re-rendered the page with the message in Esperanto as expected.

Cite_body::error uses UI language:

   wfMsgNoTrans( 'cite_error', wfMsgNoTrans( $key, $param ) ) .

while everything else is content language.

Either this needs to use content language too or it needs to record the use of the UI language in the parser options so it can go into to the parser cache hash key, I think?
Comment 1 Gadget850 2012-05-06 13:40:34 UTC
We have seen this on the English Wikipedia a few times.
Comment 2 Chad H. 2012-05-06 13:46:45 UTC
(In reply to comment #0)
> Either this needs to use content language too or it needs to record the use of
> the UI language in the parser options so it can go into to the parser cache
> hash key, I think?

Since it's shown *in* the content, I'd assume the former would be preferable (and easier).
Comment 3 Gerrit Notification Bot 2013-10-16 04:44:56 UTC
Change 90084 had a related patch set uploaded by Legoktm:
Show error messages in content language to avoid cache issues

https://gerrit.wikimedia.org/r/90084
Comment 4 Gerrit Notification Bot 2013-10-16 09:16:52 UTC
Change 90084 merged by jenkins-bot:
Show error messages in content language to avoid cache issues

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

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


Navigation
Links