Rename the iwl_prefix_from_title index (again) to iwl_prefix_title_from and change...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 22 Jul 2010 08:52:58 +0000 (08:52 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 22 Jul 2010 08:52:58 +0000 (08:52 +0000)
commit61de1b9006bd2b7fde19aa131e52e0280d0f40dd
tree8eae73e1f0f9210c63c7fcd252fcd148c3f02cf0
parent65ae4eed55590d29a41d4f219c75de2090039c43
Rename the iwl_prefix_from_title index (again) to iwl_prefix_title_from and change the field order accordingly. Fixed r66892 which inserted iwl_from into the index (which was a good thing) but put it in the wrong place. I went out of my way to make sure the index isn't dropped and recreated needlessly, but since I don't know how to do the drop-index-if-exists thing in the Postgres updater, I left that out. The Postgres updater will now create the new index without dropping any old incarnations if present. I did create the patch files with the DROP INDEX statements to make it easier to add this behavior. Also tweak ApiQueryIWBacklinks to use this index properly.
16 files changed:
includes/api/ApiQueryIWBacklinks.php
includes/installer/MysqlUpdater.php
includes/installer/SqliteUpdater.php
maintenance/archives/patch-iwlinks.sql
maintenance/archives/patch-kill-iwl_pft.sql [new file with mode: 0644]
maintenance/archives/patch-kill-iwl_prefix.sql [new file with mode: 0644]
maintenance/archives/patch-rename-iwl_prefix.sql
maintenance/postgres/archives/patch-iwlinks.sql
maintenance/postgres/archives/patch-kill-iwl_pft.sql [new file with mode: 0644]
maintenance/postgres/archives/patch-kill-iwl_prefix.sql [new file with mode: 0644]
maintenance/postgres/archives/patch-rename-iwl_prefix.sql
maintenance/postgres/tables.sql
maintenance/sqlite/archives/patch-kill-iwl_pft.sql [new file with mode: 0644]
maintenance/sqlite/archives/patch-kill-iwl_prefix.sql [new file with mode: 0644]
maintenance/tables.sql
maintenance/updaters.inc