r87500 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87499‎ | r87500 | r87501 >
Date:18:02, 5 May 2011
Author:ialex
Status:ok
Tags:
Comment:
Simplify a bit: $wgOut->addWikiText( wfMsg( ... ) ) -> $wgOut->addWikiMsg( ... )
Modified paths:
  • /trunk/extensions/CodeReview/ui/SpecialCode.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/SpecialCode.php
@@ -26,7 +26,7 @@
2727 if( $view ) {
2828 $view->execute();
2929 } else {
30 - $wgOut->addWikiText( wfMsg( 'nosuchactiontext' ) );
 30+ $wgOut->addWikiMsg( 'nosuchactiontext' );
3131 $wgOut->returnToMain( null, $this->getTitle() );
3232 return;
3333 }

Status & tagging log