summaryrefslogtreecommitdiff
path: root/maintenance/upgrade1_5.php
blob: a269c335154b76644923db39c7616a3e825457c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

// Alternate 1.4 -> 1.5 schema upgrade
// This does only the main tables + UTF-8
// and is designed to allow upgrades to interleave
// with other updates on the replication stream so
// that large wikis can be upgraded without disrupting
// other services.
//
// Note: this script DOES NOT apply every update, nor
// will it probably handle much older versions, etc.
// Run this, FOLLOWED BY update.php, for upgrading
// from 1.4.5 release to 1.5.

$options = array( 'step', 'noimages' );

require_once( 'commandLine.inc' );
require_once( 'FiveUpgrade.inc' );

$upgrade = new FiveUpgrade();
$step = isset( $options['step'] ) ? $options['step'] : null;
$upgrade->upgrade( $step );

?>