Give some idea of time remaining
authorMark A. Hershberger <mah@nichework.com>
Thu, 6 Jul 2017 21:57:06 +0000 (17:57 -0400)
committerMark A. Hershberger <mah@nichework.com>
Thu, 6 Jul 2017 21:57:06 +0000 (17:57 -0400)
Bug: T169931
Change-Id: I3c80727516c329e5b911e9f29d17a2a9e860f44d

maintenance/updateRestrictions.php

index 96eaf82..02b4405 100644 (file)
@@ -57,7 +57,7 @@ class UpdateRestrictions extends Maintenance {
                $blockEnd = $start + $this->mBatchSize - 1;
                $encodedExpiry = 'infinity';
                while ( $blockEnd <= $end ) {
-                       $this->output( "...doing page_id from $blockStart to $blockEnd\n" );
+                       $this->output( "...doing page_id from $blockStart to $blockEnd out of $end\n" );
                        $cond = "page_id BETWEEN $blockStart AND $blockEnd AND page_restrictions !=''";
                        $res = $db->select(
                                'page',