From: Ævar Arnfjörð Bjarmason Date: Tue, 3 May 2005 12:43:50 +0000 (+0000) Subject: * ARG! There's more of it! X-Git-Tag: 1.5.0alpha2~341 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=621feec27fe3671d1bf80533b96368cedb9a2fa3;p=lhc%2Fweb%2Fwiklou.git * ARG! There's more of it! --- diff --git a/includes/SpecialMaintenance.php b/includes/SpecialMaintenance.php index d9d0fc3f92..a52f2fd132 100644 --- a/includes/SpecialMaintenance.php +++ b/includes/SpecialMaintenance.php @@ -9,9 +9,8 @@ * shortcut to get the current language "special" namespace name */ function sns() { - global $wgContLang ; - $ns = $wgContLang->getNamespaces() ; - return $ns[NS_SPECIAL] ; + global $wgContLang; + return $wgContLang->getNsText(NS_SPECIAL); } @@ -53,7 +52,6 @@ function wfSpecialMaintenance( $par=NULL ) { if ( !is_null( $submitmll ) ) return wfSpecialMissingLanguageLinks() ; $sk = $wgUser->getSkin(); - $ns = $wgContLang->getNamespaces() ; # Generate page output