Page MenuHomePhabricator
Paste P8991

New output for API action=edit spamblacklist failure
ActivePublic

Authored by matmarex on Aug 28 2019, 1:37 PM.
{
"error": {
"code": "spamblacklist",
"info": "The text you wanted to save was blocked by the spam filter. This is probably caused by a link to a blacklisted external site. The following text is what triggered our spam filter: example.com/test",
"spamblacklist": {
"matches": [
"example.com/test"
]
},
"*": "See http://localhost:3080/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
}
}