summaryrefslogtreecommitdiff
path: root/maintenance/upgrade1_5.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-03-09 07:22:49 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-03-09 07:22:49 +0100
commit6f5403ca6e8561c3dcd19284f86b4c3c8dd715ff (patch)
treee65ab3d9e3099ae8a7341f9146107966e5816686 /maintenance/upgrade1_5.php
parente6475b0b814e9cb5d1b65dd76eee371875fffa9a (diff)
update to MediaWiki 1.15.2
Diffstat (limited to 'maintenance/upgrade1_5.php')
-rw-r--r--maintenance/upgrade1_5.php9
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 );