diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-05-16 20:58:53 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-05-16 20:58:53 +0000 |
commit | cecb985bee3bdd252e1b8dc0bd500b37cd52be01 (patch) | |
tree | 17266aa237742640aabee7856f0202317a45d540 /maintenance/importDump.php | |
parent | 0bac06c301f2a83edb0236e4c2434da16848d549 (diff) |
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert
kleine Korrekturen am Design
Diffstat (limited to 'maintenance/importDump.php')
-rw-r--r-- | maintenance/importDump.php | 13 |
1 files changed, 6 insertions, 7 deletions
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"; } ?> |