Fix for r55810: oly set $optionsWithArgs if it's not defined, as in the old version...
[lhc/web/wiklou.git] / maintenance / language / checkLanguage.inc
index 486490e..ab6d8a1 100644 (file)
@@ -418,7 +418,7 @@ ENDS;
 
                $tableRows = implode( "\n|-\n", $rows );
 
-               $version = SpecialVersion::getVersion( $IP );
+               $version = SpecialVersion::getVersion( 'nodb' );
                echo <<<EOL
 '''Check results are for:''' <code>$version</code>
 
@@ -587,7 +587,7 @@ Check codes (ideally, all of them should result 0; all the checks are executed b
        * untranslated: Messages which are required to translate, but are not translated.
        * duplicate: Messages which translation equal to fallback
        * obsolete: Messages which are untranslatable, but translated.
-       * variables: Messages without variables which should be used, or with variables which shouldn't be used.
+       * variables: Messages without variables which should be used, or with variables which should not be used.
        * empty: Empty messages.
        * whitespace: Messages which have trailing whitespace.
        * xhtml: Messages which are not well-formed XHTML (checks only few common errors).
@@ -646,6 +646,8 @@ ENDS;
 $checkBlacklist = array(
 #'code'        => array( 'check1', 'check2' ... )
 'gan'          => array( 'plural' ),
+'gan-hans'     => array( 'plural' ),
+'gan-hant'     => array( 'plural' ),
 'gn'           => array( 'plural' ),
 'hak'          => array( 'plural' ),
 'hu'           => array( 'plural' ),
@@ -655,6 +657,7 @@ $checkBlacklist = array(
 'kk-cyrl'      => array( 'plural' ),
 'kk-latn'      => array( 'plural' ),
 'ko'           => array( 'plural' ),
+'lzh'          => array( 'plural' ),
 'mn'           => array( 'plural' ),
 'ms'           => array( 'plural' ),
 'my'           => array( 'chars' ),  // Uses a lot zwnj