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