r35830 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35829‎ | r35830 | r35831 >
Date:23:54, 3 June 2008
Author:simetrical
Status:old
Tags:
Comment:
As Brion points out, this needs an htmlspecialchars.
Modified paths:
  • /trunk/phase3/includes/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialMovepage.php
@@ -368,7 +368,8 @@
369369 $newPage = Title::makeTitleSafe( $newNs, $newPageName );
370370 if( !$newPage ) {
371371 $oldLink = $skin->makeKnownLinkObj( $oldPage );
372 - $extraOutput []= wfMsgHtml( 'movepage-page-unmoved', $oldLink, Title::makeName( $newNs, $newPageName ) );
 372+ $extraOutput []= wfMsgHtml( 'movepage-page-unmoved', $oldLink,
 373+ htmlspecialchars(Title::makeName( $newNs, $newPageName )));
373374 continue;
374375 }
375376

Status & tagging log