mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
1abaff1aac
Always run the keyword/function handler, even if there are DUNDEFINED arguments, so that the handler can perform further validation on the input and report any error to the user. However, replace DUNDEFINED with DNULL before running the handler, to avoid special-casing DUNDEFINED in every handler. If any argument was a DUNDEFINED, we will return DUNDEFINED anyway. Also centralize the keyword handling logic to a new method, like it happens for functions. Bug: T234339 Change-Id: I875cb77418a39790e91fe5867c49917bfe406ed4 |
||
---|---|---|
.phan | ||
db_patches | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AbuseFilter.alias.php | ||
abusefilter.tables.pg.sql | ||
abusefilter.tables.sql | ||
abusefilter.tables.sqlite.sql | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
hooks.txt | ||
package-lock.json | ||
package.json |