mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-01 00:56: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 |
||
---|---|---|
.. | ||
AbuseFilterCachingParser.php | ||
AbuseFilterParser.php | ||
AbuseFilterTokenizer.php | ||
AFPData.php | ||
AFPException.php | ||
AFPParserState.php | ||
AFPSyntaxTree.php | ||
AFPToken.php | ||
AFPTreeNode.php | ||
AFPTreeParser.php | ||
AFPUserVisibleException.php |