Page MenuHomePhabricator

Update Jade for changes in AbuseFilter and SpamBlacklist API error responses
Open, Needs TriagePublic

Description

API error responses generated by AbuseFilter and SpamBlacklist have changed, as announced here: https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2019-September/000148.html (relevant task: T229539).

It appears you have special handling for the old responses. This only affects unit tests (so they are probably failing now):

extensions/Jade/tests/phpunit/AbuseFilter/AbuseFilterTest.php:
   73: 			'action' => 'abusefiltercheckmatch',
   78: 		$this->assertTrue( $result[0]['abusefiltercheckmatch']['result'] );

extensions/Jade/tests/phpunit/SpamBlacklist/SpamBlacklistTest.php:
   87: 			'spamblacklist' => 'unusual-stringy',

Event Timeline