r17976 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17975‎ | r17976 | r17977 >
Date:08:32, 28 November 2006
Author:brion
Status:old
Tags:
Comment:
reporting legibility: include dbname
Modified paths:
  • /trunk/extensions/CentralAuth/migratePass0.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/migratePass0.php
@@ -56,8 +56,12 @@
5757
5858 $delta = microtime( true ) - $start;
5959 $rate = ($delta == 0.0) ? 0.0 : $migrated / $delta;
60 - printf( "%d (%0.1f%%) done in %0.1f secs (%0.3f accounts/sec).\n",
61 - $migrated, $migrated / $lastUser * 100.0, $delta, $rate );
 60+ printf( "%s %d (%0.1f%%) done in %0.1f secs (%0.3f accounts/sec).\n",
 61+ $wgDBname,
 62+ $migrated,
 63+ min( $max, $lastUser ) / $lastUser * 100.0,
 64+ $delta,
 65+ $rate );
6266 }
6367 }
6468