Last modified: 2007-10-04 19:01:43 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 11560 - Spurious link created in special contributions list
Spurious link created in special contributions list
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Brion Vibber
Depends on:
  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: ---


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.