* @todo Make this more useful, right now just dumps $wgContLang
*/
-require_once( __DIR__ . '/../Maintenance.php' );
+require_once __DIR__ . '/../Maintenance.php';
/**
* Maintenance script that dumps an entire language, using the keys from English.
class DumpMessages extends Maintenance {
public function __construct() {
parent::__construct();
- $this->mDescription = "Dump an entire language, using the keys from English";
+ $this->addDescription( 'Dump an entire language, using the keys from English' );
}
public function execute() {
}
$maintClass = "DumpMessages";
-require_once( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;