Index: trunk/phase3/maintenance/refreshLinks.php |
— | — | @@ -93,6 +93,8 @@ |
94 | 94 | $num = $dbr->numRows( $res ); |
95 | 95 | $this->output( "Refreshing $num old redirects from $start...\n" ); |
96 | 96 | |
| 97 | + $i = 0; |
| 98 | + |
97 | 99 | foreach ( $res as $row ) { |
98 | 100 | if ( !( ++$i % $reportingInterval ) ) { |
99 | 101 | $this->output( "$i\n" ); |