From cecb985bee3bdd252e1b8dc0bd500b37cd52be01 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 16 May 2007 20:58:53 +0000 Subject: Aktualisierung auf MediaWiki 1.10.0 Plugins angepasst und verbessert kleine Korrekturen am Design --- maintenance/importDump.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'maintenance/importDump.php') diff --git a/maintenance/importDump.php b/maintenance/importDump.php index 22709f64..c7d36042 100644 --- a/maintenance/importDump.php +++ b/maintenance/importDump.php @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * - * @package MediaWiki - * @subpackage Maintenance + * @addtogroup Maintenance */ $optionsWithArgs = array( 'report' ); @@ -48,8 +47,8 @@ class BackupReader { $this->progress( "Got bogus revision with null title!" ); return; } - $display = $title->getPrefixedText(); - $timestamp = $rev->getTimestamp(); + #$timestamp = $rev->getTimestamp(); + #$display = $title->getPrefixedText(); #echo "$display $timestamp\n"; $this->revCount++; @@ -70,8 +69,8 @@ class BackupReader { 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 = '-'; @@ -137,7 +136,7 @@ if( WikiError::isError( $result ) ) { } else { echo "Done!\n"; echo "You might want to run rebuildrecentchanges.php to regenerate\n"; - echo "the recentchanges page."; + echo "the recentchanges page.\n"; } ?> -- cgit v1.2.2