r7224 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r7223‎ | r7224 | r7225 >
Date:09:19, 22 January 2005
Author:jeluf
Status:old
Tags:
Comment:
BUG#925 Fix canonized_headline for e.g. <math>
Modified paths:
  • /branches/REL1_4/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_4/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: branches/REL1_4/phase3/includes/Parser.php
@@ -2478,7 +2478,7 @@
24792479 # The canonized header is a version of the header text safe to use for links
24802480 # Avoid insertion of weird stuff like <math> by expanding the relevant sections
24812481 $canonized_headline = $this->unstrip( $headline, $this->mStripState );
2482 - $canonized_headline = $this->unstripNoWiki( $headline, $this->mStripState );
 2482+ $canonized_headline = $this->unstripNoWiki( $canonized_headline, $this->mStripState );
24832483
24842484 # Remove link placeholders by the link text.
24852485 # <!--LINK number-->
Index: branches/REL1_4/phase3/RELEASE-NOTES
@@ -259,6 +259,7 @@
260260 * Add $wgNoFollowLinks option to add rel="nofollow" on external links
261261 (on by default)
262262 * (bug 1130) Show actual title when moving page instead of encoded one.
 263+* (bug 925) Fix headings containing <math>
263264
264265 === Caveats ===
265266

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r7223BUG#925 Fix canonized_headline for e.g. <math>jeluf09:13, 22 January 2005

Status & tagging log