]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - maintenance/upgrade1_5.php
MediaWiki 1.11.0
[autoinstallsdev/mediawiki.git] / maintenance / upgrade1_5.php
1 <?php
2
3 // Alternate 1.4 -> 1.5 schema upgrade
4 // This does only the main tables + UTF-8
5 // and is designed to allow upgrades to interleave
6 // with other updates on the replication stream so
7 // that large wikis can be upgraded without disrupting
8 // other services.
9 //
10 // Note: this script DOES NOT apply every update, nor
11 // will it probably handle much older versions, etc.
12 // Run this, FOLLOWED BY update.php, for upgrading
13 // from 1.4.5 release to 1.5.
14
15 $options = array( 'step', 'noimages' );
16
17 require_once( 'commandLine.inc' );
18 require_once( 'FiveUpgrade.inc' );
19
20 $upgrade = new FiveUpgrade();
21 $step = isset( $options['step'] ) ? $options['step'] : null;
22 $upgrade->upgrade( $step );
23
24