r100214 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100213‎ | r100214 | r100215 >
Date:09:35, 19 October 2011
Author:raymond
Status:ok
Tags:
Comment:
Fix r100138 per Nikas CR: "always use explicit conversion to string with wfMessage"
Modified paths:
  • /trunk/phase3/includes/specials/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialMovepage.php
@@ -435,7 +435,7 @@
436436 $newText = $nt->getPrefixedText();
437437
438438 $msgName = $createRedirect ? 'movepage-moved-redirect' : 'movepage-moved-noredirect';
439 - $out->addHTML( wfMessage( 'movepage-moved' )->rawParams( $oldLink, $newLink, $oldText, $newText ) );
 439+ $out->addHTML( wfMessage( 'movepage-moved' )->rawParams( $oldLink, $newLink, $oldText, $newText )->parseAsBlock() );
440440 $out->addWikiMsg( $msgName );
441441
442442 # Now we move extra pages we've been asked to move: subpages and talk

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100138* (bug 18823) "move succeeded" text displays bluelinks even when redirect was...raymond17:57, 18 October 2011

Status & tagging log