コード例 #1
0
 function execute()
 {
     if (!$this->hasOption('fix')) {
         $this->output("Dry run only: use --fix to enable updates\n");
     }
     parent::execute();
 }
コード例 #2
0
ファイル: cleanupCaps.php プロジェクト: rocLv/conference
 public function __construct()
 {
     parent::__construct();
     $this->mDescription = "Script to cleanup capitalization";
     $this->addOption('namespace', 'Namespace number to run caps cleanup on', false, true);
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->mDescription = "Script to clean up broken, unparseable titles";
 }
コード例 #4
0
ファイル: cleanupWatchlist.php プロジェクト: ruizrube/spdef
 function __construct($dryrun = false)
 {
     parent::__construct('watchlist', $dryrun);
 }
コード例 #5
0
 public function __construct()
 {
     parent::__construct();
     $this->addDescription('Script to clean up broken, unparseable titles');
 }
コード例 #6
0
ファイル: cleanupImages.php プロジェクト: puring0815/OpenKore
 function __construct($dryrun = false)
 {
     parent::__construct('image', $dryrun);
 }
コード例 #7
0
ファイル: cleanupCaps.php プロジェクト: josephdye/wikireader
 function __construct($dryrun = false, $namespace = 0)
 {
     parent::__construct('page', $dryrun);
     $this->namespace = intval($namespace);
 }