Page MenuHomePhabricator

Spurious link created in special contributions list
Closed, ResolvedPublic


See link. A spurious redlink exists starting halfway down the 09:58 13 September 2007 entry and carrying on halfway into the next line.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:00 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz11560.

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.