r81592 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81591‎ | r81592 | r81593 >
Date:13:38, 6 February 2011
Author:ialex
Status:ok
Tags:
Comment:
Easier to just use addWikiMsg()
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUndelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUndelete.php
@@ -1411,7 +1411,7 @@
14121412 $wgOut->addWikiMsgArray( 'undeletedpage', array( $link ), array( 'replaceafter' ) );
14131413 } else {
14141414 $wgOut->showFatalError( wfMsg( "cannotundelete" ) );
1415 - $wgOut->addHTML( '<p>' . wfMsgHtml( "undeleterevdel" ) . '</p>' );
 1415+ $wgOut->addWikiMsg( 'undeleterevdel' );
14161416 }
14171417
14181418 // Show file deletion warnings and errors

Status & tagging log