From: Rob Church Date: Wed, 20 Jun 2007 07:02:06 +0000 (+0000) Subject: (bug 9696) Fix handling of brace transformations in "pagemovedtext" X-Git-Tag: 1.31.0-rc.0~52493 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=51a735e39dfb9064e489d706bd74fa4b72b5009f;p=lhc%2Fweb%2Fwiklou.git (bug 9696) Fix handling of brace transformations in "pagemovedtext" --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2388a62985..bff43deef7 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index d8f0187447..c22acef450 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -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' ) );