From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- maintenance/populateRevisionLength.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'maintenance/populateRevisionLength.php') diff --git a/maintenance/populateRevisionLength.php b/maintenance/populateRevisionLength.php index 0af51dc1..d020b4cb 100644 --- a/maintenance/populateRevisionLength.php +++ b/maintenance/populateRevisionLength.php @@ -30,7 +30,7 @@ class PopulateRevisionLength extends Maintenance { } public function execute() { - $db = wfGetDB( DB_MASTER ); + $db = $this->getDB( DB_MASTER ); if ( !$db->tableExists( 'revision' ) ) { $this->error( "revision table does not exist", true ); } @@ -78,7 +78,7 @@ class PopulateRevisionLength extends Maintenance { } $blockStart += $this->mBatchSize; $blockEnd += $this->mBatchSize; - wfWaitForSlaves( 5 ); + wfWaitForSlaves(); } $logged = $db->insert( 'updatelog', array( 'ul_key' => 'populate rev_len' ), -- cgit v1.2.3-54-g00ecf