Jump to content

User:Dori/Patches/cvs.3.diff

From Meta, a Wikimedia project coordination wiki

Index: includes/Parser.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Parser.php,v
retrieving revision 1.103
diff -w -B -u -r1.103 Parser.php
--- includes/Parser.php	24 Apr 2004 21:20:32 -0000	1.103
+++ includes/Parser.php	25 Apr 2004 17:14:37 -0000
@@ -1174,7 +1174,7 @@
 			case MAG_PAGENAME:
 				return $this->mTitle->getText();
 			case MAG_NAMESPACE:
-				return Namespace::getCanonicalName($this->mTitle->getNamespace());
+				return $wgLang->getNsText($this->mTitle->getNamespace());
 			case MAG_CURRENTDAYNAME:
 				return $wgLang->getWeekdayName( date("w")+1 );
 			case MAG_CURRENTYEAR: