$wgDisplayLevel = 2;
$wgChecks = array( 'untranslated', 'obsolete', 'variables', 'empty', 'whitespace', 'xhtml', 'chars' );
-$optionsWithArgs = array( 'extdir', 'mylang' );
+$optionsWithArgs = array( 'extdir', 'lang' );
require_once( dirname(__FILE__).'/../commandLine.inc' );
require_once( 'languages.inc' );
php checkExtensioni18n.php --extdir <extension repository>
Common option:
- --mylang <language code> : only check the given language.
+ --lang <language code> : only check the given language.
END;
}
// Play with options and arguments
-$myLang = isset($options['mylang']) ? $options['mylang'] : null;
+$myLang = isset($options['lang']) ? $options['lang'] : null;
if( isset( $options['extdir'] ) ) {
$extdb = $options['extdir'] . '/' . EXT_I18N_DB ;