X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrecountCategories.php;h=838405af3d2afa9fd26dd62db2eb8c527b4b56d3;hb=2e3696b224b6baf4b71c61331645724a90375f39;hp=6a00d570e8b8280191b36fd82ef46beea234cb65;hpb=6f680554ceb988f3895184167d5006d722a0afb3;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/recountCategories.php b/maintenance/recountCategories.php index 6a00d570e8..838405af3d 100644 --- a/maintenance/recountCategories.php +++ b/maintenance/recountCategories.php @@ -98,7 +98,7 @@ TEXT protected function doWork() { $this->output( "Finding up to {$this->getBatchSize()} drifted rows " . - "starting at cat_id {$this->getBatchSize()}...\n" ); + "greater than cat_id {$this->minimumId}...\n" ); $countingConds = [ 'cl_to = cat_title' ]; if ( $this->mode === 'subcats' ) { @@ -168,5 +168,5 @@ TEXT } } -$maintClass = 'RecountCategories'; +$maintClass = RecountCategories::class; require_once RUN_MAINTENANCE_IF_MAIN;