mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-30 16:54:18 +00:00
40c7ca43cb
While checking a filter, if a variable is not set (e.g. added_lines for an account creation), the VariableHolder will return a DNULL, rather than a DUNDEFINED. This means that some filters will resume working, and the WMF servers will stop getting AF warnings at a rate of 4 millions per day. This also requires adjusting some tests to reflect the new behaviour (which is actually the OLD behaviour, that filters had until last year when we introduced the DUNDEFINED data type). It also requires adjusting a check in the old parser, but that's not really relevant because the plan is to remove the old parser before 1.36 is released (see I0e75f334c7e0dfc1239f2e5f5f7d7452b0bbf29e). Bug: T230256 Change-Id: I4d06303047397674c1edbfc32628f1bc83ac3340 |
||
---|---|---|
.. | ||
AbuseFilterCachingParser.php | ||
AbuseFilterParser.php | ||
AbuseFilterTokenizer.php | ||
AFPData.php | ||
AFPException.php | ||
AFPParserState.php | ||
AFPSyntaxTree.php | ||
AFPToken.php | ||
AFPTransitionBase.php | ||
AFPTreeNode.php | ||
AFPTreeParser.php | ||
AFPUserVisibleException.php |