From d9022f63880ce039446fba8364f68e656b7bf4cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 3 May 2012 13:01:35 +0200 Subject: Update to MediaWiki 1.19.0 --- maintenance/update.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'maintenance/update.php') diff --git a/maintenance/update.php b/maintenance/update.php index 6173befd..c4bf3b22 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -89,6 +89,8 @@ class UpdateMediaWiki extends Maintenance { $this->output( "MediaWiki {$wgVersion} Updater\n\n" ); + wfWaitForSlaves( 5 ); // let's not kill databases, shall we? ;) --tor + if ( !$this->hasOption( 'skip-compat-checks' ) ) { $this->compatChecks(); } else { @@ -119,8 +121,12 @@ class UpdateMediaWiki extends Maintenance { $updater->doUpdates( $updates ); foreach( $updater->getPostDatabaseUpdateMaintenance() as $maint ) { + if ( $updater->updateRowExists( $maint ) ) { + continue; + } $child = $this->runChild( $maint ); $child->execute(); + $updater->insertUpdateRow( $maint ); } $this->output( "\nDone.\n" ); -- cgit v1.2.3-54-g00ecf