Last modified: 2012-07-24 08:29:11 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 4723 - Weird footnote number order for external links
Weird footnote number order for external links
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-parsertest
Depends on:
  Show dependency treegraph
Reported: 2006-01-22 14:47 UTC by Stephanie Amanda Stevens
Modified: 2012-07-24 08:29 UTC (History)
1 user (show)

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


Description Stephanie Amanda Stevens 2006-01-22 14:47:51 UTC
On the Speedrun article on wikipedia, the first unnamed external link (put in by
the {{ref}} template) is listed as 3. [1] is far down on the page, in the
description of an image. Currently, this article has a template for the external
links section, but commenting it out with <nowiki> tags and saving does not seem
to change anything.
Comment 1 Stephanie Amanda Stevens 2006-01-22 14:51:50 UTC
Uhm, oops. It wasn't the templates, it was the images. The images get the first
numbers for external links, even though this order sometimes makes no sense at
all. Here's a more simple example,
Comment 2 Michiel Sikma 2007-02-25 21:06:20 UTC
I haven't checked out the parsing code of MediaWiki, but I presume that it's
because of the use of magic tokens. The images get separated from the rest of
the wikitax, get parsed, then the rest of the wikitax gets parsed, and then the
two are combined into the final document before it goes to post-processing.
Perhaps the descriptions of the images could be left with the rest of the
document so that they can be parsed sequentially.

This is only how I believe it works... I'd certainly want to check it out, but
I'm not very experienced in PHP.
Comment 3 matanya 2012-07-24 08:29:11 UTC
This looks fixed to me.

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