From 87cdeb11e83cbface41e1b0a380243cbfb36e5b3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 22 Dec 2005 06:48:42 +0000 Subject: [PATCH] Restore clean, tail-friendly output --- maintenance/refreshLinks.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/maintenance/refreshLinks.inc b/maintenance/refreshLinks.inc index 2cacdcbcd0..feb91ef214 100644 --- a/maintenance/refreshLinks.inc +++ b/maintenance/refreshLinks.inc @@ -1,5 +1,4 @@ fetchObject( $res ) ) { if ( !( ++$i % REPORTING_INTERVAL ) ) { - print_c( $i - 1, $i ); + print "$i\n"; wfWaitForSlaves( $maxLag ); } @@ -55,7 +54,7 @@ function refreshLinks( $start, $newOnly = false, $maxLag = false ) { for ($id = $start; $id <= $end; $id++) { if ( !($id % REPORTING_INTERVAL) ) { - print_c( $id - 1, $id ); + print "$id\n"; wfWaitForSlaves( $maxLag ); } fixLinksFromArticle( $id ); -- 2.20.1