$end += $this->mBatchSize - 1;
$blockStart = $start;
$blockEnd = $start + $this->mBatchSize - 1;
-
+
$dbw = wfGetDB( DB_MASTER );
// Go through each page and save the output
while ( $blockEnd <= $end ) {
wfWaitForSlaves( 5 );
}
$this->output( "Done!\n" );
-
+
// Remove these to be safe
if ( isset( $wgTitle ) )
unset( $wgTitle );