$optionsWithArgs = array( 'report' );
require_once( 'commandLine.inc' );
-require_once( 'SpecialImport.php' );
class BackupReader {
var $reportingInterval = 100;
if( $this->reporting ) {
$delta = wfTime() - $this->startTime;
if( $delta ) {
- $rate = $this->pageCount / $delta;
- $revrate = $this->revCount / $delta;
+ $rate = sprintf("%.2f", $this->pageCount / $delta);
+ $revrate = sprintf("%.2f", $this->revCount / $delta);
} else {
$rate = '-';
$revrate = '-';
} else {
echo "Done!\n";
echo "You might want to run rebuildrecentchanges.php to regenerate\n";
- echo "the recentchanges page.";
+ echo "the recentchanges page.\n";
}
-?>
+