mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-25 06:26:03 +00:00
6e9a9a3bc2
This is similar to the old parser: when discarding a node, actually evaluate it if short-circuit is not allowed. Add a whole lot of tests for all possible exceptions. Move the logic to extract a message from an AFPUserVisibleException away from the parser, to keep unit tests working. Bug: T232498 Change-Id: I31ee4e255c6a87dd693b9bcd582539fdf57acd45 |
||
---|---|---|
.. | ||
AbuseFilterParserTest.php | ||
AbuseFilterParserTestCase.php | ||
AbuseFilterTokenizerTest.php | ||
AFPDataTest.php |