View the formatted namespace name (without _) in custom namespaces, when no message...
authorRotem Liss <rotem@users.mediawiki.org>
Sun, 27 Aug 2006 15:32:21 +0000 (15:32 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sun, 27 Aug 2006 15:32:21 +0000 (15:32 +0000)
includes/SkinTemplate.php

index 158af81..3f0c7b3 100644 (file)
@@ -573,7 +573,7 @@ class SkinTemplate extends Skin {
                $text = wfMsg( $message );
                if ( $text == "&lt;$message&gt;" ) {
                        global $wgContLang;
-                       $text = $wgContLang->getNsText( Namespace::getSubject( $title->getNamespace() ) );
+                       $text = $wgContLang->getFormattedNsText( Namespace::getSubject( $title->getNamespace() ) );
                }
 
                return array(