diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /maintenance/populateSha1.php | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff) |
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
Diffstat (limited to 'maintenance/populateSha1.php')
-rw-r--r-- | maintenance/populateSha1.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/populateSha1.php b/maintenance/populateSha1.php index 1714c0d6..1ab9109d 100644 --- a/maintenance/populateSha1.php +++ b/maintenance/populateSha1.php @@ -54,7 +54,7 @@ class PopulateSha1 extends Maintenance { $imageTable = $dbw->tableName( 'image' ); if ( $method == 'pipe' ) { - // @fixme kill this and replace with a second unbuffered DB connection. + // @todo FIXME: Kill this and replace with a second unbuffered DB connection. global $wgDBuser, $wgDBserver, $wgDBpassword, $wgDBname; $cmd = 'mysql -u' . wfEscapeShellArg( $wgDBuser ) . ' -h' . wfEscapeShellArg( $wgDBserver ) . @@ -68,7 +68,7 @@ class PopulateSha1 extends Maintenance { foreach ( $res as $row ) { if ( $i % 100 == 0 ) { $this->output( sprintf( "Done %d of %d, %5.3f%% \r", $i, $numRows, $i / $numRows * 100 ) ); - wfWaitForSlaves( 5 ); + wfWaitForSlaves(); } $file = wfLocalFile( $row->img_name ); if ( !$file ) { |