Page MenuHomePhabricator

Update Translate for changes in AbuseFilter and SpamBlacklist API error responses
Closed, ResolvedPublic


API error responses generated by AbuseFilter and SpamBlacklist have changed, as announced here: (relevant task: T229539).

It appears you have special handling for the old responses. It should be updated, otherwise they will probably show a generic error message instead of a more specific one.

  248: 				} else if ( editResp.spamblacklist ) {

Event Timeline

Change 536173 had a related patch set uploaded (by Nikerabbit; owner: Nikerabbit):
[mediawiki/extensions/Translate@master] Mark custom AbuseFilter and SpamBlacklist handling for removal

Nikerabbit added a subscriber: Nikerabbit.

No updates are necessary to handle the new format. I have marked the code for removal once backwards compatibility is no longer required.

Change 536173 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Mark custom AbuseFilter and SpamBlacklist handling for removal

Nice… This is basically the perfect case I was hoping to see when making the API changes :D

Pginer-WMF closed this task as Resolved.Oct 22 2019, 8:44 AM