r23110 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23109‎ | r23110 | r23111 >
Date:07:02, 20 June 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 9696) Fix handling of brace transformations in "pagemovedtext"
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialMovepage.php
@@ -284,12 +284,7 @@
285285 $newText = wfEscapeWikiText( $wgRequest->getVal('newtitle') );
286286 $talkmoved = $wgRequest->getVal('talkmoved');
287287
288 - $text = wfMsg( 'pagemovedtext', $oldText, $newText );
289 -
290 - $allowHTML = $wgRawHtml;
291 - $wgRawHtml = false;
292 - $wgOut->addWikiText( $text );
293 - $wgRawHtml = $allowHTML;
 288+ $wgOut->addHtml( wfMsgExt( 'pagemovedtext', array( 'parse' ), $oldText, $newText ) );
294289
295290 if ( $talkmoved == 1 ) {
296291 $wgOut->addWikiText( wfMsg( 'talkpagemoved' ) );
Index: trunk/phase3/RELEASE-NOTES
@@ -181,8 +181,8 @@
182182 some cases where section edits broke because tags were improperly stripped
183183 * Avoid PHP notice errors when doing HTTP proxy purges for an empty list
184184 * As intended, *skip* the HTTP proxy purges when doing HTCP purges
 185+* (bug 9696) Fix handling of brace transformations in "pagemovedtext"
185186
186 -
187187 == API changes since 1.10 ==
188188
189189 (For ongoing development discussion, see http://www.mediawiki.org/wiki/API)

Follow-up revisions

RevisionCommit summaryAuthorDate
r23120Merged revisions 23103-23119 via svnmerge from...david08:43, 20 June 2007

Status & tagging log