Page MenuHomePhabricator

Add support for SpamBlacklist in cross-wiki upload dialog
Closed, ResolvedPublic


We should add support for SpamBlacklist in the cross-wiki upload dialog. Currently uploads blocked by it look like this:

pasted_file (946×1 px, 122 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

So, on second thought… we shouldn't have anything in core that relies on specific extensions. Rather, we should make SpamBlacklist use the same API output format as TitleBlacklist and AbuseFilter do, with an additional message property describing the message that has to be loaded and shown, and any parameters for it.


Change 305208 had a related patch set uploaded (by Matthias Mullie):
Add 'message' property to API output

Change 305208 merged by jenkins-bot:
Add 'message' property to API output