From 25d02dfc66fee9dc6f4b9eeef72c06fea3e342c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 1 Nov 2005 19:18:52 +0000 Subject: [PATCH] * Use the pretty count function --- maintenance/refreshLinks.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/maintenance/refreshLinks.inc b/maintenance/refreshLinks.inc index b27c294f76..7a256c1efe 100644 --- a/maintenance/refreshLinks.inc +++ b/maintenance/refreshLinks.inc @@ -1,4 +1,5 @@ fetchObject( $res ) ) { if ( !( ++$i % REPORTING_INTERVAL ) ) { - print "$i\n"; + print_c( $i - 1, $i ); wfWaitForSlaves( $maxLag ); } @@ -54,7 +55,7 @@ function refreshLinks( $start, $newOnly = false, $maxLag = false ) { for ($id = $start; $id <= $end; $id++) { if ( !($id % REPORTING_INTERVAL) ) { - print "$id\n"; + print_c( $id - 1, $id ); wfWaitForSlaves( $maxLag ); } fixLinksFromArticle( $id ); -- 2.20.1