* Wrong variable and some guessed suppressions
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 15 Oct 2007 15:09:42 +0000 (15:09 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 15 Oct 2007 15:09:42 +0000 (15:09 +0000)
maintenance/language/checkLanguage.inc
maintenance/language/checkLanguage.php

index 51f5dbd..a2178fb 100644 (file)
@@ -3,6 +3,12 @@
 # Blacklist some checks for some languages
 $checkBlacklist = array(
 #'code' => array( 'check1', 'check2' ... )
+'hak' => array( 'plural' ),
 'ja' => array( 'plural' ), // Does not use plural
 'my' => array( 'chars' ), // Uses a lot zwnj
+'th' => array( 'plural' ),
+'yue' => array( 'plural' ),
+'zh-classical' => array( 'plural' ),
+'zh-hans' => array( 'plural' ),
+'zh-hant' => array( 'plural' ),
 );
index 2bff35c..7c3e99a 100644 (file)
@@ -172,7 +172,7 @@ ENDS;
                # Check the language
                if ( $this->checkAll ) {
                        foreach ( $this->L->getLanguages() as $language ) {
-                               if ( !in_array($this->code, $ignoredCodes) ) {
+                               if ( !in_array($language, $ignoredCodes) ) {
                                        $this->results[$language] = $this->checkLanguage( $language );
                                }
                        }