class ExportSites extends Maintenance {
public function __construct() {
- $this->mDescription = 'Exports site definitions the sites table to XML file';
+ $this->addDescription( 'Exports site definitions the sites table to XML file' );
$this->addArg( 'file', 'A file to write the XML to (see docs/sitelist.txt). ' .
'Use "php://stdout" to write to stdout.', true