(bug 9696) Fix handling of brace transformations in "pagemovedtext"
authorRob Church <robchurch@users.mediawiki.org>
Wed, 20 Jun 2007 07:02:06 +0000 (07:02 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Wed, 20 Jun 2007 07:02:06 +0000 (07:02 +0000)
RELEASE-NOTES
includes/SpecialMovepage.php

index 2388a62..bff43de 100644 (file)
@@ -181,7 +181,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   some cases where section edits broke because tags were improperly stripped
 * Avoid PHP notice errors when doing HTTP proxy purges for an empty list
 * As intended, *skip* the HTTP proxy purges when doing HTCP purges
-
+* (bug 9696) Fix handling of brace transformations in "pagemovedtext"
 
 == API changes since 1.10 ==
 
index d8f0187..c22acef 100644 (file)
@@ -284,12 +284,7 @@ class MovePageForm {
                $newText = wfEscapeWikiText( $wgRequest->getVal('newtitle') );
                $talkmoved = $wgRequest->getVal('talkmoved');
 
-               $text = wfMsg( 'pagemovedtext', $oldText, $newText );
-               
-               $allowHTML = $wgRawHtml;
-               $wgRawHtml = false;
-               $wgOut->addWikiText( $text );
-               $wgRawHtml = $allowHTML;
+               $wgOut->addHtml( wfMsgExt( 'pagemovedtext', array( 'parse' ), $oldText, $newText ) );
 
                if ( $talkmoved == 1 ) {
                        $wgOut->addWikiText( wfMsg( 'talkpagemoved' ) );