From: Rotem Liss Date: Sun, 27 Aug 2006 15:32:21 +0000 (+0000) Subject: View the formatted namespace name (without _) in custom namespaces, when no message... X-Git-Tag: 1.31.0-rc.0~55905 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=b404578a298b4ba202c681069191cf6250fb1540;p=lhc%2Fweb%2Fwiklou.git View the formatted namespace name (without _) in custom namespaces, when no message is specified. --- 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(