* (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 4 Oct 2007 18:59:50 +0000 (18:59 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 4 Oct 2007 18:59:50 +0000 (18:59 +0000)
commit050a29d575b6f809d0cd46be2b91d3d54a70e08d
tree6f1bf7e76ea32350dacca81ae88290d7cc0d67fc
parentf929799993240d37f4d298119a7a5eaff8199fa4
* (bug 11560) Fix broken HTML output from weird link nesting in edit comments.
  Nested links (as in image caption text) still don't work _right_ but they're
  less wrong.

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.
RELEASE-NOTES
includes/Linker.php