r86260 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86259‎ | r86260 | r86261 >
Date:14:14, 17 April 2011
Author:ialex
Status:ok
Tags:
Comment:
* Display the "blanknamespace" in user's language, as in all other places
* Don't transform it since this will be done by the addWikiMsg() call
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRandompage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRandompage.php
@@ -86,7 +86,7 @@
8787 $nsNames = array();
8888 foreach( $this->namespaces as $n ) {
8989 if( $n === NS_MAIN ) {
90 - $nsNames[] = wfMsgForContent( 'blanknamespace' );
 90+ $nsNames[] = wfMsgNoTrans( 'blanknamespace' );
9191 } else {
9292 $nsNames[] = $wgContLang->getNsText( $n );
9393 }

Sign-offs

UserFlagDate
Hasharinspected23:36, 12 May 2011

Status & tagging log