Last modified: 2007-10-04 19:01:43 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 T13560, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11560 - Spurious link created in special contributions list
Spurious link created in special contributions list
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Brion Vibber
http://en.wikipedia.org/wiki/Special:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-04 17:05 UTC by Mike Christie
Modified: 2007-10-04 19:01 UTC (History)
0 users

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


Attachments

Description Mike Christie 2007-10-04 17:05:26 UTC
See link.  A spurious redlink exists starting halfway down the 09:58 13 September 2007 entry and carrying on halfway into the next line.
Comment 1 Brion Vibber 2007-10-04 19:01:43 UTC
Fixed in r26409.

Linker::formatComment() used a multi-pass run without proper protections, making it possible for a later 'link' to erase a previous pass's start or end tag. Switched to a single-pass run with preg_replace_callback which avoids this.

Nested links (as in image caption text) still don't work _right_ but they're less wrong.

Note it'd probably be wise to start adding parser test cases for the comment formatter.

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


Navigation
Links