From b404578a298b4ba202c681069191cf6250fb1540 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Sun, 27 Aug 2006 15:32:21 +0000 Subject: [PATCH] View the formatted namespace name (without _) in custom namespaces, when no message is specified. --- includes/SkinTemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 158af81fc1..3f0c7b34d2 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -573,7 +573,7 @@ class SkinTemplate extends Skin { $text = wfMsg( $message ); if ( $text == "<$message>" ) { global $wgContLang; - $text = $wgContLang->getNsText( Namespace::getSubject( $title->getNamespace() ) ); + $text = $wgContLang->getFormattedNsText( Namespace::getSubject( $title->getNamespace() ) ); } return array( -- 2.20.1