Go to file
Daimona Eaytoy 55ba083b13 Introduce a KeywordsManager service
This will decouple a bit the huge and chaotic tangle of AF classes. Some
boilerplate code for AbuseFilter services is also added with this patch.

Note that this requires injecting a KeywordsManager in
AbuseFilterVariableHolder, or unit tests would fail. This is still
incomplete, and the Manager is only injected in tests, because
VariableHolder still has to be refactored.

The test for the UpdateVarDumps script had to be updated, because
serializing VHs in there was a bad choice. As pointed out in a comment,
the test is likely going to break again once we remove the BC code, but
I hope that we'll be able to remove the test at that point.

Change-Id: I12a656a310adb8c5f75cab63f6db9e121e109717
2020-09-28 23:03:52 +00:00
.phan Migrate to new phan 2019-03-16 09:41:23 +00:00
db_patches Revert "Drop duplicate index wiki_timestamp" 2020-09-23 10:39:19 +00:00
i18n Localisation updates from https://translatewiki.net. 2020-09-28 08:28:09 +02:00
includes Introduce a KeywordsManager service 2020-09-28 23:03:52 +00:00
maintenance Introduce a KeywordsManager service 2020-09-28 23:03:52 +00:00
modules ViewTools: hide the result box when empty 2020-09-19 12:37:06 +00:00
tests Introduce a KeywordsManager service 2020-09-28 23:03:52 +00:00
.eslintrc.json eslint config tweaks 2020-06-09 19:39:03 +01: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 remaining PHPCS issues 2020-01-21 12:36:37 +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
abusefilter.tables.pg.sql Add new schemas for splitting afl_filter 2019-09-22 16:04:45 +00:00
abusefilter.tables.sql Add new schemas for splitting afl_filter 2019-09-22 16:04:45 +00:00
abusefilter.tables.sqlite.sql Add new schemas for splitting afl_filter 2019-09-22 16:04:45 +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 mediawiki/mediawiki-phan-config to 0.10.3 2020-09-24 18:26:44 +00:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
extension.json Introduce a KeywordsManager service 2020-09-28 23:03:52 +00:00
Gruntfile.js eslint config tweaks 2020-06-09 19:39:03 +01:00
hooks.txt Introduce a KeywordsManager service 2020-09-28 23:03:52 +00:00
package-lock.json build: Updating bl to 4.0.3 2020-09-09 18:15:30 +00:00
package.json build: Updating npm dependencies 2020-09-03 09:31:08 +00:00