Go to file
Daimona Eaytoy 1686042a91 Move variable generators to new classes
RunVariableGenerator is for generating variables based on the current
action;
RowVariableGenerator is for RC entries;
VariableGenerator is the generic one.

This patch only moves the methods to the new classes, to keep the diff
easier to read, and facilitate conflict resolution. These classes will
then be revamped in I366d598b69ad866496b7cb0059e0835c02e54041.

Note that these classes are now namespaced.

One method, AbuseFilter::getEditVars, was renamed to
AbuseFilterVariableGenerator::generateEditVars, because it would
otherwise conflict with an incompatible method in RunVariableGenerator.

Change-Id: Iff412e5492873d4fae55402939a51609e64d55a8
2020-02-07 19:44:31 +00:00
.phan Migrate to new phan 2019-03-16 09:41:23 +00:00
db_patches Add new schemas for splitting afl_filter 2019-09-22 16:04:45 +00:00
i18n Localisation updates from https://translatewiki.net. 2020-02-06 08:18:34 +01:00
includes Move variable generators to new classes 2020-02-07 19:44:31 +00:00
maintenance Fix silly bug in fixOldLogEntries 2019-12-16 17:26:15 +00:00
modules ext.abuseFilter.tools.js: Replace deprecated editToken with csrfToken 2019-09-22 01:54:34 +00:00
tests Move variable generators to new classes 2020-02-07 19:44:31 +00:00
.eslintrc.json build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-03 15:44:45 -07: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 composer dependencies 2020-01-28 17:51:38 +00:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
extension.json Move variable generators to new classes 2020-02-07 19:44:31 +00:00
Gruntfile.js build: Updating dependencies 2020-01-21 07:38:54 +00:00
hooks.txt Use RCDatabaseLogEntry as wrapper in get*VarsFromRCRow 2020-02-07 19:19:10 +00:00
package-lock.json build: Updating dependencies 2020-01-21 07:38:54 +00:00
package.json build: Updating dependencies 2020-01-21 07:38:54 +00:00