From: Mark A. Hershberger Date: Thu, 6 Jul 2017 21:57:06 +0000 (-0400) Subject: Give some idea of time remaining X-Git-Tag: 1.31.0-rc.0~2727^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=36cea971b6c9e33e8222d48bb2840e8a567435e9;p=lhc%2Fweb%2Fwiklou.git Give some idea of time remaining Bug: T169931 Change-Id: I3c80727516c329e5b911e9f29d17a2a9e860f44d --- diff --git a/maintenance/updateRestrictions.php b/maintenance/updateRestrictions.php index 96eaf822d6..02b4405cf4 100644 --- a/maintenance/updateRestrictions.php +++ b/maintenance/updateRestrictions.php @@ -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',