MusikAnimal has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/379142 )

Change subject: Yet another attempt to fix the populateIpChanges script
......................................................................

Yet another attempt to fix the populateIpChanges script

It appears we'd need to update  if there are no results for
the given block.

Bug: T175962
Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b954e064
---
M maintenance/populateIpChanges.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/42/379142/1

diff --git a/maintenance/populateIpChanges.php 
b/maintenance/populateIpChanges.php
index 17f49ee..859c089 100644
--- a/maintenance/populateIpChanges.php
+++ b/maintenance/populateIpChanges.php
@@ -88,6 +88,7 @@
                        $numRows = $rows->numRows();
 
                        if ( !$rows || $numRows === 0 ) {
+                               $blockStart = $blockEnd + 1;
                                break;
                        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/379142
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b954e064
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: MusikAnimal <musikani...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to