From 63601400e476c6cf43d985f3e7b9864681695ed4 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 18 Jan 2013 16:46:04 +0100 Subject: Update to MediaWiki 1.20.2 this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024 --- maintenance/rebuildImages.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'maintenance/rebuildImages.php') diff --git a/maintenance/rebuildImages.php b/maintenance/rebuildImages.php index fe3b35c9..2842b402 100644 --- a/maintenance/rebuildImages.php +++ b/maintenance/rebuildImages.php @@ -1,6 +1,6 @@ processed = 0; $this->updated = 0; $this->count = $count; - $this->startTime = wfTime(); + $this->startTime = microtime( true ); $this->table = $table; } @@ -99,7 +104,7 @@ class ImageBuilder extends Maintenance { $portion = $this->processed / $this->count; $updateRate = $this->updated / $this->processed; - $now = wfTime(); + $now = microtime( true ); $delta = $now - $this->startTime; $estimatedTotalTime = $delta / $portion; $eta = $this->startTime + $estimatedTotalTime; @@ -189,7 +194,7 @@ class ImageBuilder extends Maintenance { $filename = $altname; $this->output( "Estimating transcoding... $altname\n" ); } else { - # @FIXME: create renameFile() + # @todo FIXME: create renameFile() $filename = $this->renameFile( $filename ); } } -- cgit v1.2.3-54-g00ecf