From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- includes/installer/OracleUpdater.php | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'includes/installer/OracleUpdater.php') diff --git a/includes/installer/OracleUpdater.php b/includes/installer/OracleUpdater.php index ec91e57b..18468544 100644 --- a/includes/installer/OracleUpdater.php +++ b/includes/installer/OracleUpdater.php @@ -38,6 +38,8 @@ class OracleUpdater extends DatabaseUpdater { protected function getCoreUpdateList() { return array( + array( 'disableContentHandlerUseDB' ), + // 1.17 array( 'doNamespaceDefaults' ), array( 'doFKRenameDeferr' ), @@ -47,13 +49,13 @@ class OracleUpdater extends DatabaseUpdater { array( 'doRemoveNotNullEmptyDefaults' ), array( 'addTable', 'user_former_groups', 'patch-user_former_groups.sql' ), - //1.18 + // 1.18 array( 'addIndex', 'user', 'i02', 'patch-user_email_index.sql' ), array( 'modifyField', 'user_properties', 'up_property', 'patch-up_property.sql' ), array( 'addTable', 'uploadstash', 'patch-uploadstash.sql' ), array( 'doRecentchangesFK2Cascade' ), - //1.19 + // 1.19 array( 'addIndex', 'logging', 'i05', 'patch-logging_type_action_index.sql' ), array( 'addField', 'revision', 'rev_sha1', 'patch-rev_sha1_field.sql' ), array( 'addField', 'archive', 'ar_sha1', 'patch-ar_sha1_field.sql' ), @@ -64,12 +66,12 @@ class OracleUpdater extends DatabaseUpdater { array( 'addIndex', 'job', 'i02', 'patch-job_timestamp_index.sql' ), array( 'doPageRestrictionsPKUKFix' ), - //1.20 + // 1.20 array( 'addIndex', 'ipblocks', 'i05', 'patch-ipblocks_i05_index.sql' ), array( 'addIndex', 'revision', 'i05', 'patch-revision_i05_index.sql' ), array( 'dropField', 'category', 'cat_hidden', 'patch-cat_hidden.sql' ), - //1.21 + // 1.21 array( 'addField', 'revision', 'rev_content_format', 'patch-revision-rev_content_format.sql' ), array( 'addField', 'revision', 'rev_content_model', @@ -79,6 +81,7 @@ class OracleUpdater extends DatabaseUpdater { array( 'addField', 'archive', 'ar_id', 'patch-archive-ar_id.sql' ), array( 'addField', 'externallinks', 'el_id', 'patch-externallinks-el_id.sql' ), array( 'addField', 'page', 'page_content_model', 'patch-page-page_content_model.sql' ), + array( 'enableContentHandlerUseDB' ), array( 'dropField', 'site_stats', 'ss_admins', 'patch-ss_admins.sql' ), array( 'dropField', 'recentchanges', 'rc_moved_to_title', 'patch-rc_moved.sql' ), array( 'addTable', 'sites', 'patch-sites.sql' ), @@ -90,6 +93,16 @@ class OracleUpdater extends DatabaseUpdater { array( 'modifyField', 'user_former_groups', 'ufg_group', 'patch-ufg_group-length-increase-255.sql' ), + // 1.23 + array( 'addIndex', 'logging', 'i06', 'patch-logging_user_text_type_time_index.sql' ), + array( 'addIndex', 'logging', 'i07', 'patch-logging_user_text_time_index.sql' ), + array( 'addField', 'user', 'user_password_expires', 'patch-user_password_expire.sql' ), + array( 'addField', 'page', 'page_links_updated', 'patch-page_links_updated.sql' ), + array( 'addField', 'recentchanges', 'rc_source', 'patch-rc_source.sql' ), + + // 1.24 + array( 'addField', 'page', 'page_lang', 'patch-page-page_lang.sql' ), + // KEEP THIS AT THE BOTTOM!! array( 'doRebuildDuplicateFunction' ), @@ -251,7 +264,7 @@ class OracleUpdater extends DatabaseUpdater { /** * Overload: after this action field info table has to be rebuilt * - * @param $what array + * @param array $what */ public function doUpdates( $what = array( 'core', 'extensions', 'purge', 'stats' ) ) { parent::doUpdates( $what ); -- cgit v1.2.3-54-g00ecf