lines in diff output
* (bug 10166) Fix a PHP warning in Language::getMagic
* Only mark rollback edits as minor if the user can normally mark edits as minor.
+* Escape page names in the move successful page (e.g. for pages with two
+ apostrophes).
== Parser changes in 1.12 ==
$talkmoved = $wgRequest->getVal( 'talkmoved' );
$oldUrl = $old->getFullUrl( 'redirect=no' );
$newUrl = $new->getFullURl();
- $oldText = $old->getPrefixedText();
- $newText = $new->getPrefixedText();
+ $oldText = wfEscapeWikiText( $old->getPrefixedText() );
+ $newText = wfEscapeWikiText( $new->getPrefixedText() );
$oldLink = "<span class='plainlinks'>[$oldUrl $oldText]</span>";
$newLink = "<span class='plainlinks'>[$newUrl $newText]</span>";