* Add a h2 header to the begin of the results
[mediawiki.git] / maintenance / language / checkExtensions.php
blob324cf61f1e6516189be6ab378d50e52e2de1fa46
1 <?php
2 /**
3 * Check the extensions language files.
5 * @file
6 * @ingroup MaintenanceLanguage
7 */
9 require_once( dirname(__FILE__).'/../commandLine.inc' );
10 require_once( 'languages.inc' );
11 require_once( 'checkLanguage.inc' );
13 if( !class_exists( 'MessageGroups' ) ) {
14 echo <<<END
15 Please add the Translate extension to LocalSettings.php, and enable the extension groups:
16 require_once( 'extensions/Translate/Translate.php' );
17 \$wgTranslateEC = array_keys( \$wgTranslateAC );
19 END;
20 exit(-1);
23 $cli = new CheckExtensionsCLI( $options, $argv[0] );
24 $cli->execute();