Page MenuHomePhabricator
Paste P8989

New output for API action=edit AbuseFilter failure

Authored by matmarex on Aug 28 2019, 1:37 PM.
"Like" token, awarded by Amorymeltzer.
"error": {
"code": "abusefilter-disallowed",
"info": "This action has been automatically identified as harmful, and therefore disallowed. If you believe your action was constructive, please inform an administrator of what you were trying to do. A brief description of the abuse rule which your action matched is: Test filter disallow",
"abusefilter": {
"id": 1,
"description": "Test filter disallow",
"actions": [
"*": "See http://localhost:3080/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <> for notice of API deprecations and breaking changes."

Event Timeline

matmarex created this paste.Aug 28 2019, 1:37 PM
Anomie changed the title of this paste from untitled to New output for API action=edit AbuseFilter failure.Sep 10 2019, 8:00 PM
Amorymeltzer added a subscriber: Amorymeltzer.EditedSep 11 2019, 7:12 PM

@matmarex: Is it safe to assume "abusefilter-warning" will return a similar pattern?

Yes, it has the same pattern, with the only differences in the code and actions.

Just came upon which would have answered it for me if I'd looked earlier, but thanks for the confirmation!