From: Zheng Zhu Date: Fri, 24 Sep 2004 18:31:16 +0000 (+0000) Subject: Replaced call to deprecated Namespace::getSpecial(); update comment on autoConvert() X-Git-Tag: 1.5.0alpha1~1817 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=caceeaae57641af713d1b5f3bf250061b78fa52c;p=lhc%2Fweb%2Fwiklou.git Replaced call to deprecated Namespace::getSpecial(); update comment on autoConvert() --- diff --git a/languages/Language.php b/languages/Language.php index 496f5ab466..cb129ed0b0 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -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; }