Replaced call to deprecated Namespace::getSpecial(); update comment on autoConvert()
authorZheng Zhu <zhengzhu@users.mediawiki.org>
Fri, 24 Sep 2004 18:31:16 +0000 (18:31 +0000)
committerZheng Zhu <zhengzhu@users.mediawiki.org>
Fri, 24 Sep 2004 18:31:16 +0000 (18:31 +0000)
languages/Language.php

index 496f5ab..cb129ed 100644 (file)
@@ -1607,7 +1607,7 @@ class Language {
        }
 
        function specialPage( $name ) {
-               return $this->getNsText( Namespace::getSpecial() ) . ':' . $name;
+               return $this->getNsText(NS_SPECIAL) . ':' . $name;
        }
 
        function getQuickbarSettings() {
@@ -2016,6 +2016,9 @@ class Language {
         return $text;
        }
 
+       /* this does the real conversion to the preferred variant.
+          see LanguageZh.php for example
+    */
     function autoConvert($text) {
         return $text;
     }