Index: branches/REL1_4/phase3/includes/Parser.php |
— | — | @@ -2478,7 +2478,7 @@ |
2479 | 2479 | # The canonized header is a version of the header text safe to use for links |
2480 | 2480 | # Avoid insertion of weird stuff like <math> by expanding the relevant sections |
2481 | 2481 | $canonized_headline = $this->unstrip( $headline, $this->mStripState ); |
2482 | | - $canonized_headline = $this->unstripNoWiki( $headline, $this->mStripState ); |
| 2482 | + $canonized_headline = $this->unstripNoWiki( $canonized_headline, $this->mStripState ); |
2483 | 2483 | |
2484 | 2484 | # Remove link placeholders by the link text. |
2485 | 2485 | # <!--LINK number--> |
Index: branches/REL1_4/phase3/RELEASE-NOTES |
— | — | @@ -259,6 +259,7 @@ |
260 | 260 | * Add $wgNoFollowLinks option to add rel="nofollow" on external links |
261 | 261 | (on by default) |
262 | 262 | * (bug 1130) Show actual title when moving page instead of encoded one. |
| 263 | +* (bug 925) Fix headings containing <math> |
263 | 264 | |
264 | 265 | === Caveats === |
265 | 266 | |