Go to file
Daimona Eaytoy c091a2f749 Fix MySQL db patches compatibility
Follow-up I574bda15f0f5c92a7d97a6e3150981b8f97ee7fc
Apologies for not noticing before:

If somebody hadn't already added the afl_filter_id column, the
rename-indexes patch would try to rename a non-existing index
(filter_timestamp_full and fail). So put rename-indexes after the other
patch.
Then, for the afl_filter_id patch, check the column and not the index.
We were checking the index because it's the last thing that the DB patch
does (so if the index is found, we can be certain that the patch was
fully applied). However, now that renaming the index happens afterwards,
if somebody had already added afl_filter_id (with the old index name),
running the updater would try adding it again, because the new index
name isn't found (as it's renamed later).

Change-Id: I0250a7c187202facd932c160ace57930db510f64
2021-04-25 11:28:35 +02:00
.phan Notify of a throttled filter 2020-12-19 10:31:29 +01:00
db_patches Give MySQL indexes explicit names, align MySQL and SQLite 2021-04-15 11:30:30 +02:00
i18n Localisation updates from https://translatewiki.net. 2021-04-23 08:35:47 +02:00
includes Fix MySQL db patches compatibility 2021-04-25 11:28:35 +02:00
maintenance Increase coverage for more classes 2021-01-17 17:38:58 +00:00
modules Check response code and prevent exception in worker-abusefilter 2021-02-12 00:01:51 +00:00
tests Merge "Improve test coverage of API modules" 2021-04-18 16:03:25 +00:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-10 23:05:48 +00:00
.gitignore Add config for Selenium and basic tests 2019-09-17 16:23:07 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml Fix method names of hook interfaces 2021-03-09 17:03:14 +00:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-10 21:00:53 +00:00
AbuseFilter.alias.php Add aliases for Serbian language 2018-12-24 02:16:55 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 05:29:54 +00:00
composer.json build: Updating dependencies 2021-01-28 21:17:54 +00:00
COPYING
extension.json Merge "Api: inject more abuse filter services" 2021-04-18 09:15:17 +00:00
Gruntfile.js eslint config tweaks 2020-06-09 19:39:03 +01:00
package-lock.json build: Updating eslint-config-wikimedia to 0.20.0 2021-04-07 21:23:03 +00:00
package.json build: Updating eslint-config-wikimedia to 0.20.0 2021-04-07 21:23:03 +00:00