function execute()
 {
     if (!$this->hasOption('fix')) {
         $this->output("Dry run only: use --fix to enable updates\n");
     }
     parent::execute();
 }
Exemple #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);
 }
 public function __construct()
 {
     parent::__construct();
     $this->mDescription = "Script to clean up broken, unparseable titles";
 }
Exemple #4
0
 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);
 }
Exemple #7
0
 function __construct($dryrun = false, $namespace = 0)
 {
     parent::__construct('page', $dryrun);
     $this->namespace = intval($namespace);
 }