r24022 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24021‎ | r24022 | r24023 >
Date:20:44, 11 July 2007
Author:jeluf
Status:old
Tags:
Comment:
Fix bug with <nowiki> in front of links for wikis where linkPrefixExtension is true
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -485,7 +485,7 @@
486486 $inside = $p[4];
487487 }
488488
489 - $marker = "$uniq_prefix-$element-" . sprintf('%08X', $n++) . '-QINU';
 489+ $marker = "$uniq_prefix-$element-" . sprintf('%08X', $n++) . "-QINU\x07";
490490 $stripped .= $marker;
491491
492492 if ( $close === '/>' ) {
@@ -4633,7 +4633,7 @@
46344634 # now that we can be sure that no pseudo-sections are in the source,
46354635 # split it up by section
46364636 $uniq = preg_quote( $this->uniqPrefix(), '/' );
4637 - $comment = "(?:$uniq-!--.*?QINU)";
 4637+ $comment = "(?:$uniq-!--.*?QINU\x07)";
46384638 $secs = preg_split(
46394639 "/
46404640 (
Index: trunk/phase3/RELEASE-NOTES
@@ -277,6 +277,7 @@
278278 * (bug 6965) Cannot include "Template:R" with {{R}} (magic word conflict)
279279 * Padding parser functions now work with strings like '0' that evaluate to false
280280 * (bug 10332) Title->userCan( 'edit' ) may return false positive
 281+* Fix bug with <nowiki> in front of links for wikis where linkPrefixExtension is true
281282
282283 == API changes since 1.10 ==
283284

Follow-up revisions

RevisionCommit summaryAuthorDate
r24096Merged revisions 23910-24094 via svnmerge from...david22:38, 14 July 2007

Status & tagging log