diff options
Diffstat (limited to 'maintenance/update.php')
-rw-r--r-- | maintenance/update.php | 6 |
1 files changed, 6 insertions, 0 deletions
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" ); |