From: Ævar Arnfjörð Bjarmason Date: Tue, 1 Nov 2005 19:18:52 +0000 (+0000) Subject: * Use the pretty count function X-Git-Tag: 1.6.0~1250 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=25d02dfc66fee9dc6f4b9eeef72c06fea3e342c8;p=lhc%2Fweb%2Fwiklou.git * Use the pretty count function --- 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 );