From ffba23d177d5eee876bdc59cdf1b945281b18041 Mon Sep 17 00:00:00 2001 From: MusikAnimal Date: Tue, 19 Sep 2017 19:51:34 -0400 Subject: [PATCH 1/1] Yet another attempt to fix the populateIpChanges script It would seem we'd need to update $blockStart if there are no results for a given block, and more importantly, continue and not break! Bug: T175962 Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b954e064 --- maintenance/populateIpChanges.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maintenance/populateIpChanges.php b/maintenance/populateIpChanges.php index 17f49ee358..f7bcc12c3d 100644 --- a/maintenance/populateIpChanges.php +++ b/maintenance/populateIpChanges.php @@ -88,7 +88,8 @@ TEXT $numRows = $rows->numRows(); if ( !$rows || $numRows === 0 ) { - break; + $blockStart = $blockEnd + 1; + continue; } $this->output( "...checking $numRows revisions for IP edits that need copying, " . -- 2.20.1