function execute() { if (!$this->hasOption('fix')) { $this->output("Dry run only: use --fix to enable updates\n"); } parent::execute(); }
public function __construct() { parent::__construct(); $this->mDescription = "Script to cleanup capitalization"; $this->addOption('namespace', 'Namespace number to run caps cleanup on', false, true); }
public function __construct() { parent::__construct(); $this->mDescription = "Script to clean up broken, unparseable titles"; }
function __construct($dryrun = false) { parent::__construct('watchlist', $dryrun); }
public function __construct() { parent::__construct(); $this->addDescription('Script to clean up broken, unparseable titles'); }
function __construct($dryrun = false) { parent::__construct('image', $dryrun); }
function __construct($dryrun = false, $namespace = 0) { parent::__construct('page', $dryrun); $this->namespace = intval($namespace); }