From 0238304e39a1329f32ca117c5fc05400344d62e8 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 17 Apr 2011 14:14:52 +0000 Subject: [PATCH] * 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 --- includes/specials/SpecialRandompage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.20.1