From 19e0ba132d96f994be61adfe29945235e705e825 Mon Sep 17 00:00:00 2001 From: Reedy Date: Sun, 8 Mar 2020 23:34:05 +0000 Subject: [PATCH] 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) --- maintenance/recountCategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/recountCategories.php b/maintenance/recountCategories.php index 8ec648ff39..7e37fcbbc0 100644 --- a/maintenance/recountCategories.php +++ b/maintenance/recountCategories.php @@ -104,7 +104,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' ) { -- 2.20.1