Removed some messages that are on ignore list:
[lhc/web/wiklou.git] / languages / LanguageSq.php
index c60477e..3ec5734 100644 (file)
@@ -30,8 +30,8 @@ class LanguageSq extends LanguageUtf8 {
                MW_DATE_ISO => '2001-01-15 16:12:34'
        );
 
-       function LanguageSq() {
-               LanguageUtf8::LanguageUtf8();
+       function __construct() {
+               parent::__construct();
 
                global $wgAllMessagesSq;
                $this->mMessagesSq =& $wgAllMessagesSq;
@@ -86,8 +86,7 @@ class LanguageSq extends LanguageUtf8 {
        }
 
        function getNsIndex( $text ) {
-               global $wgNamespaceNamesSq;
-               foreach ( $wgNamespaceNamesSq as $i => $n ) {
+               foreach ( $this->mNamespaceNamesSq as $i => $n ) {
                        if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
                }
                # Compatbility with alt names: