コード例 #1
0
 function TitleCleanup($dryrun = false)
 {
     parent::FiveUpgrade();
     $this->maxLag = 10;
     # if slaves are lagged more than 10 secs, wait
     $this->dryrun = $dryrun;
 }
コード例 #2
0
 function ImageBuilder($dryrun = false)
 {
     parent::FiveUpgrade();
     $this->maxLag = 10;
     # if slaves are lagged more than 10 secs, wait
     $this->dryrun = $dryrun;
 }
コード例 #3
0
 function CapsCleanup($dryrun = false, $namespace = 0)
 {
     parent::FiveUpgrade();
     $this->maxLag = 10;
     # if slaves are lagged more than 10 secs, wait
     $this->dryrun = $dryrun;
     $this->namespace = intval($namespace);
 }
コード例 #4
0
 function ImageBuilder($dryrun = false)
 {
     parent::FiveUpgrade();
     $this->maxLag = 10;
     # if slaves are lagged more than 10 secs, wait
     $this->dryrun = $dryrun;
     if ($dryrun) {
         $GLOBALS['wgReadOnly'] = 'Dry run mode, image upgrades are suppressed';
     }
 }