Last modified: 2012-07-24 08:29:11 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 T6723, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4723 - Weird footnote number order for external links
Weird footnote number order for external links
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.6.x
PC All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
: need-parsertest
Depends on:
Blocks:
  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: ---


Attachments

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,
http://en.wikipedia.org/wiki/User:Michiel_Sikma/External_links_bugreport
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.


Navigation
Links