From: Reedy Date: Sun, 8 Mar 2020 23:34:05 +0000 (+0000) Subject: Fix output of RecountCategories::doWork() X-Git-Tag: 1.31.7~10 X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=d418e8e261600fd6b3aed2dc9430e529027f2dd6 Fix output of RecountCategories::doWork() Display actual cat_id starting at, not the batch size Also, adjust message per option description: 'Only recount categories with cat_id greater than the given value' Bug: T247215 Follows-Up: I8b3e9ca1f42b7c49ee57f17b88ca2fc7b404f342 Change-Id: I09844c922a4350178a67e526dd025eb831489939 (cherry picked from commit e3c9741aacdcc8e6ca4bfd17526119c2e9709082) --- diff --git a/maintenance/recountCategories.php b/maintenance/recountCategories.php index 7e8f0636d5..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' ) {