mediawiki-extensions-AbuseF.../includes/parser
Daimona Eaytoy 40c7ca43cb parser: Add a BC option to get DNULL for unset variables
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
2020-09-20 09:51:36 +00:00
..
AbuseFilterCachingParser.php Fix remaining PHPCS issues 2020-01-21 12:36:37 +00:00
AbuseFilterParser.php parser: Add a BC option to get DNULL for unset variables 2020-09-20 09:51:36 +00:00
AbuseFilterTokenizer.php Remove old number syntax 2020-02-25 23:38:19 +00:00
AFPData.php Add new methods for checking DUNDEFINED recursively, use them 2020-04-19 13:58:14 +02:00
AFPException.php Move various classes to their own files 2016-12-17 11:40:10 -08:00
AFPParserState.php Revert "Revert "Add typehinting for every object-only parameter"" 2018-11-15 10:09:16 +01:00
AFPSyntaxTree.php Annotate the AST with var names before caching the AST 2019-09-13 19:43:50 +00:00
AFPToken.php Fix remaining PHPCS issues 2020-01-21 12:36:37 +00:00
AFPTransitionBase.php tests: Increase and rebalance code coverage 2020-02-07 18:32:17 +00:00
AFPTreeNode.php tests: Increase and rebalance code coverage 2020-02-07 18:32:17 +00:00
AFPTreeParser.php build: Updating composer dependencies 2020-01-28 17:51:38 +00:00
AFPUserVisibleException.php Explicitly forbid negative indexes in arrays 2019-11-08 05:55:56 +00:00