r61578 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61577‎ | r61578 | r61579 >
Date:17:02, 27 January 2010
Author:demon
Status:ok
Tags:
Comment:
Let crazy people run updates on broken setups like 5.3.1
Modified paths:
  • /trunk/phase3/maintenance/update.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/update.php
@@ -19,7 +19,12 @@
2020
2121 echo( "MediaWiki {$wgVersion} Updater\n\n" );
2222
23 -install_version_checks();
 23+if( !isset( $options['skip-compat-checks'] ) ) {
 24+ install_version_checks();
 25+} else {
 26+ print "Skipping compatibility checks, proceed at your own risk (Ctrl+C to abort)\n";
 27+ wfCountdown(5);
 28+}
2429
2530 # Attempt to connect to the database as a privileged user
2631 # This will vomit up an error if there are permissions problems

Status & tagging log