Last modified: 2010-05-15 15:54:55 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 T15949, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13949 - Special:PrefixIndex/AllPages paging links contain invalid XML
Special:PrefixIndex/AllPages paging links contain invalid XML
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.12.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks: html
  Show dependency treegraph
 
Reported: 2008-05-04 19:26 UTC by clockworksoul
Modified: 2010-05-15 15:54 UTC (History)
3 users (show)

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


Attachments

Description clockworksoul 2008-05-04 19:26:34 UTC
When label for the "Next page" link generated for Special:PrefixIndex contains an ampersand in the title, it isn't converted into an "&", generating a fatal error when trying to parse the XML on the page.

An example of such a link is below, generated today on en wikipedia:

<a href="/w/index.php?title=Special:PrefixIndex&amp;from=WikiProject_Anime_and_manga/Userbox/User_RedSuns_Ryosuke&amp;prefix=WikiProject&amp;namespace=4"
title="Special:PrefixIndex">
Next page (WikiProject_Anime_and_manga/Userbox/User_RedSuns_Ryosuke)
</a>
Comment 1 clockworksoul 2008-05-04 23:51:41 UTC
I gave you the wrong example...  

This one is a correct example:

<a href="/w/index.php?title=Special:PrefixIndex&amp;from=WikiProject_Military_history/Assessment/Tag_%26_Assess_2008/075&amp;prefix=WikiProject&amp;namespace=4" title="Special:PrefixIndex">
Next page (WikiProject_Military_history/Assessment/Tag_&_Assess_2008/075)
</a>
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-05-05 00:14:14 UTC
Fixed in r34229.
Comment 3 clockworksoul 2008-07-15 05:01:07 UTC
This bug seems to have reappeared: take a look at http://en.wikipedia.org/w/index.php?title=Special:PrefixIndex&from=WikiProject_Medieval_Scotland/Bibliography/others&prefix=WikiProject&namespace=4

On this page (as of the time of this writing) the "Next page" link generates the following:

<a 
    href="/w/index.php?title=Special:PrefixIndex&amp;from=WikiProject_Military_history/Assessment/Tag_%26_Assess_2008/124&amp;prefix=WikiProject&amp;namespace=4" 
    title="Special:PrefixIndex">
       Next page (WikiProject_Military_history/Assessment/Tag_&_Assess_2008/124)
</a>

Attempting to parse this causes my parser to complain as follows: "The reference to entity "_Assess_2008" must end with the ';' delimiter."

Comment 4 clockworksoul 2008-07-15 17:23:01 UTC
My mistake: this fix simply hasn't yet been incorporated into the release version of WikiMedia.
Comment 5 Alexandre Emsenhuber [IAlex] 2008-07-15 17:44:24 UTC
This is not your mistake, this revision is already live. Special:Prefixindex should be fixed in r37704.

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


Navigation
Links