From: Alexandre Emsenhuber Date: Sun, 17 Apr 2011 14:14:52 +0000 (+0000) Subject: * Display the "blanknamespace" in user's language, as in all other places X-Git-Tag: 1.31.0-rc.0~30753 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=0238304e39a1329f32ca117c5fc05400344d62e8;p=lhc%2Fweb%2Fwiklou.git * 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 --- diff --git a/includes/specials/SpecialRandompage.php b/includes/specials/SpecialRandompage.php index fecd355ad4..aaa220670c 100644 --- a/includes/specials/SpecialRandompage.php +++ b/includes/specials/SpecialRandompage.php @@ -86,7 +86,7 @@ class RandomPage extends SpecialPage { $nsNames = array(); foreach( $this->namespaces as $n ) { if( $n === NS_MAIN ) { - $nsNames[] = wfMsgForContent( 'blanknamespace' ); + $nsNames[] = wfMsgNoTrans( 'blanknamespace' ); } else { $nsNames[] = $wgContLang->getNsText( $n ); }