mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 22:15:26 +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 |
||
---|---|---|
.. | ||
unit | ||
AbuseFilterConsequencesTest.php | ||
AbuseFilterDBTest.php | ||
AbuseFilterParserEquivsetTest.php | ||
AbuseFilterSaveTest.php | ||
AbuseFilterTest.php |