diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /includes/installer/Ibm_db2Updater.php | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff) |
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
Diffstat (limited to 'includes/installer/Ibm_db2Updater.php')
-rw-r--r-- | includes/installer/Ibm_db2Updater.php | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/includes/installer/Ibm_db2Updater.php b/includes/installer/Ibm_db2Updater.php new file mode 100644 index 00000000..39a9fb79 --- /dev/null +++ b/includes/installer/Ibm_db2Updater.php @@ -0,0 +1,69 @@ +<?php +/** + * IBM_DB2-specific updater. + * + * @file + * @ingroup Deployment + */ + +/** + * Class for handling updates to IBM_DB2 databases. + * + * @ingroup Deployment + * @since 1.17 + */ +class Ibm_db2Updater extends DatabaseUpdater { + + /** + * Get the changes in the DB2 database scheme since MediaWiki 1.14 + * @return array + */ + protected function getCoreUpdateList() { + return array( + // 1.14 + array( 'addField', 'site_stats', 'ss_active_users', 'patch-ss_active_users.sql' ), + array( 'addField', 'ipblocks', 'ipb_allow_usertalk', 'patch-ipb_allow_usertalk.sql' ), + + // 1.15 + array( 'addTable', 'change_tag', 'patch-change_tag.sql' ), + array( 'addTable', 'tag_summary', 'patch-change_tag_summary.sql' ), + array( 'addTable', 'valid_tag', 'patch-change_valid_tag.sql' ), + + // 1.16 + array( 'addTable', 'user_properties', 'patch-user_properties.sql' ), + array( 'addTable', 'log_search', 'patch-log_search.sql' ), + array( 'addField', 'logging', 'log_user_text', 'patch-log_user_text.sql' ), + array( 'addTable', 'l10n_cache', 'patch-l10n_cache.sql' ), + array( 'addTable', 'external_user', 'patch-external_user.sql' ), + array( 'addIndex', 'log_search', 'ls_field_val', 'patch-log_search-rename-index.sql' ), + array( 'addIndex', 'change_tag', 'change_tag_rc_tag', 'patch-change_tag-indexes.sql' ), + array( 'addField', 'redirect', 'rd_interwiki', 'patch-rd_interwiki.sql' ), + + // 1.17 + array( 'addTable', 'iwlinks', 'patch-iwlinks.sql' ), + array( 'addField', 'updatelog', 'ul_value', 'patch-ul_value.sql' ), + array( 'addField', 'interwiki', 'iw_api', 'patch-iw_api_and_wikiid.sql' ), + array( 'addField', 'categorylinks', 'cl_collation', 'patch-categorylinks-better-collation.sql' ), + array( 'addTable', 'msg_resource', 'patch-msg_resource.sql' ), + array( 'addTable', 'module_deps', 'patch-module_deps.sql' ), + + // Tables + array( 'addTable', 'iwlinks', 'patch-iwlinks.sql' ), + array( 'addTable', 'msg_resource_links', 'patch-msg_resource_links.sql' ), + array( 'addTable', 'msg_resource', 'patch-msg_resource.sql' ), + array( 'addTable', 'module_deps', 'patch-module_deps.sql' ), + + // Indexes + array( 'addIndex', 'msg_resource_links', 'uq61_msg_resource_links', 'patch-uq_61_msg_resource_links.sql' ), + array( 'addIndex', 'msg_resource', 'uq81_msg_resource', 'patch-uq_81_msg_resource.sql' ), + array( 'addIndex', 'module_deps', 'uq96_module_deps', 'patch-uq_96_module_deps.sql' ), + + // Fields + array( 'addField', 'categorylinks', 'cl_sortkey_prefix', 'patch-cl_sortkey_prefix-field.sql' ), + array( 'addField', 'categorylinks', 'cl_collation', 'patch-cl_collation-field.sql' ), + array( 'addField', 'categorylinks', 'cl_type', 'patch-cl_type-field.sql' ), + array( 'addField', 'interwiki', 'iw_api', 'patch-iw_api-field.sql' ), + array( 'addField', 'interwiki', 'iw_wikiid', 'patch-iw_wikiid-field.sql' ) + ); + } +}
\ No newline at end of file |