Show <nstab-foobar> instead of 'article' for the namespace tab. That's a
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 20 Dec 2005 20:43:45 +0000 (20:43 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 20 Dec 2005 20:43:45 +0000 (20:43 +0000)
better hint to find the MediaWiki: message that need to be edited when
adding extra namespaces.

includes/SkinTemplate.php

index dfcbd6b..d84e034 100644 (file)
@@ -540,7 +540,7 @@ class SkinTemplate extends Skin {
                
                $text = wfMsg( $message );
                if ( $text == "&lt;$message&gt;" ) {
-                       $text = wfMsg( 'nstab-main' );
+                       $text = html_entity_decode($text); 
                }
                
                return array(