https://bugzilla.wikimedia.org/show_bug.cgi?id=32216
Web browser: --- Bug #: 32216 Summary: AbuseFilter should use the APIEditBeforeSave hook Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Unprioritized Component: AbuseFilter AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: b-jor...@alum.northwestern.edu CC: agarr...@wikimedia.org Classification: Unclassified When an API edit is blocked by an AbuseFilter, the response received is particularly unhelpful: <?xml version="1.0"?><api><error code="hookaborted" info="The modification you tried to make was aborted by an extension hook" /></api> No indication that it was even due to the abuse filter. The abuse filter should be modified to use the APIEditBeforeSave to return appropriate information for API edits (see how SpamBlacklist does it, for example). This would probably also require adjusting EditPage to give access the edit summary stored in there. Or I suppose EditPage could be modified to report the responsible extension whenever a hook aborts an edit, but that seems like it might be harder. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l