mediawiki-extensions-AbuseF.../includes/Api
Daimona Eaytoy b2dc2c4dd8 Refactor ParserStatus
ParserStatus is now more lightweight, and doesn't know about "result"
and "from cache". Instead, it has an isValid() method which is merely a
shorthand for checking whether getException() is null.

Introduce a child class, RuleCheckerStatus, which knows about result and
cache and can be (un)serialized.

This removes the ambiguity of the $result field, and helps the
transition to a new RuleChecker class.

Change-Id: I0dac7ab4febbfdabe72596631db630411d967ab5
2021-09-17 11:25:54 +00:00
..
AbuseLogPrivateDetails.php Api: inject AbuseFilterPermissionManager where needed 2021-03-28 15:22:59 +00:00
CheckMatch.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
CheckSyntax.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
EvalExpression.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
QueryAbuseFilters.php Use array_fill_keys() instead of array_flip() if that reflects the developer's intention 2021-08-24 01:08:13 +00:00
QueryAbuseLog.php build: Updating mediawiki/mediawiki-phan-config to 0.11.0 2021-09-07 19:30:42 -07:00
UnblockAutopromote.php build: Updating mediawiki/mediawiki-phan-config to 0.11.0 2021-09-07 19:30:42 -07:00