diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-03-09 07:22:49 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-03-09 07:22:49 +0100 |
commit | 6f5403ca6e8561c3dcd19284f86b4c3c8dd715ff (patch) | |
tree | e65ab3d9e3099ae8a7341f9146107966e5816686 /maintenance/upgrade1_5.php | |
parent | e6475b0b814e9cb5d1b65dd76eee371875fffa9a (diff) |
update to MediaWiki 1.15.2
Diffstat (limited to 'maintenance/upgrade1_5.php')
-rw-r--r-- | maintenance/upgrade1_5.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/maintenance/upgrade1_5.php b/maintenance/upgrade1_5.php index dd4acaae..32634b67 100644 --- a/maintenance/upgrade1_5.php +++ b/maintenance/upgrade1_5.php @@ -18,6 +18,15 @@ $options = array( 'step', 'noimages' ); require_once( 'commandLine.inc' ); require_once( 'FiveUpgrade.inc' ); +echo "ATTENTION: This script is for upgrades from 1.4 to 1.5 (NOT 1.15) in very special cases.\n"; +echo "Use update.php for usual updates.\n"; + +// Seems to confuse some people +if ( !array_search( '--upgrade', $_SERVER['argv'] ) ) { + echo "Please run this script with --upgrade key to actually run the updater.\n"; + die; +} + $upgrade = new FiveUpgrade(); $step = isset( $options['step'] ) ? $options['step'] : null; $upgrade->upgrade( $step ); |