Last modified: 2006-10-12 06:17:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6164 - Incompatibility between <gallery>...</gallery> and Cite-Tags
Incompatibility between <gallery>...</gallery> and Cite-Tags
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: High major with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-01 17:00 UTC by Gnu1742
Modified: 2006-10-12 06:17 UTC (History)
1 user (show)

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


Attachments

Description Gnu1742 2006-06-01 17:00:38 UTC
Let a page have several <ref>- and one <references/>-Tag. If you put a
<gallery>...</gallery>-Compound between the very last <ref> and the
<references/>, the declared references are not listed at the desired position.
If you put the Gallery in front of the last <ref> or after the <references/>,
the references are listed at the correct position. I made some experiments on
http://de.wikipedia.org/wiki/Benutzer:Gnu1742/test (my Userpage at
de.wikipedia.org). See the versions since
http://de.wikipedia.org/w/index.php?title=Benutzer:Gnu1742/test&oldid=17359531
Comment 1 Gnu1742 2006-06-01 18:13:08 UTC
To avoid possible misunderstandings: "...the declared references are not listed
at the desired position" should be "...the declared references ar not listed at all"
Comment 2 Brion Vibber 2006-06-01 21:40:13 UTC
Fixed in r14532.
Comment 3 wally kramer 2006-10-10 22:32:27 UTC
Seems to be broken now, first noticed Sunday 2006-10-08.   Demonstrated at
[[en:Timberline Lodge ski area]] (references not visible) versus [[en:Magic
Mile]] (references visible).  Mentioned in Technical village pump at
http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#Gallery_tag_messes_up_references

I think this is more than normal severity & priority, because some editors are
removing galleries to address the situation.
Comment 4 Brion Vibber 2006-10-11 23:20:09 UTC
I can't reproduce the problem locally or even on test.wikipedia.org.
This is rather difficult to debug...
Comment 5 Brion Vibber 2006-10-12 00:53:12 UTC
Parser state is being cleared by a message transformation for the bad image list.
The addition of a template invocation on [[MediaWiki:Bad image list]] a few days
ago triggered the new behavior.
Comment 6 Brion Vibber 2006-10-12 01:14:15 UTC
Worked around in r16954.

Use ?action=purge or edit any affected pages.
Comment 7 Ilmari Karonen 2006-10-12 06:08:56 UTC
Sounds like "a good permanent fix" in this case to me -- I didn't even realize
wfMsgForContent() was invoking the parser at all or I would've fixed it myself
earlier.  All that the code wants, after all, is the raw wikitext.
Comment 8 Brion Vibber 2006-10-12 06:17:15 UTC
It's not a good permanent fix since there might be a thousand other places
(open-ended) that might, quite legitimately, want to slurp in localized
message text during parsing.

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


Navigation
Links