Go to file
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
.phan Notify of a throttled filter 2020-12-19 10:31:29 +01:00
db_patches Give MySQL indexes explicit names, align MySQL and SQLite 2021-04-15 11:30:30 +02:00
i18n Localisation updates from https://translatewiki.net. 2021-09-14 08:32:05 +02:00
includes Refactor ParserStatus 2021-09-17 11:25:54 +00:00
maintenance build: Updating dependencies 2021-07-21 18:51:18 +00:00
modules Check response code and prevent exception in worker-abusefilter 2021-02-12 00:01:51 +00:00
tests Refactor ParserStatus 2021-09-17 11:25:54 +00:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-10 23:05:48 +00:00
.gitignore Add config for Selenium and basic tests 2019-09-17 16:23:07 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml Merge "Use FauxRequest::setUpload in AbuseFilterUploadTestTrait::doUpload" 2021-05-15 12:22:10 +00:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-10 21:00:53 +00:00
AbuseFilter.alias.php Add aliases for Serbian language 2018-12-24 02:16:55 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 05:29:54 +00:00
composer.json build: Updating mediawiki/mediawiki-phan-config to 0.11.0 2021-09-07 19:30:42 -07:00
COPYING
extension.json Rename ParserFactory -> RuleCheckerFactory 2021-09-08 21:59:34 +02:00
Gruntfile.js eslint config tweaks 2020-06-09 19:39:03 +01:00
package-lock.json build: Updating dependencies 2021-09-02 00:07:53 +00:00
package.json build: Updating dependencies 2021-09-02 00:07:53 +00:00