Page MenuHomePhabricator

VisualEditor not parsing SpamBlacklist error message
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  1. Insert a link to something on the spam blacklist. (At en.wp, anything in the examiner dot com domain will do.)
  2. Try to save the page.
  3. See the horrible mess.

Screen Shot 2015-05-20 at 1.38.07 PM.png (615×772 px, 181 KB)

Please make the horrible mess go away.

Event Timeline

Whatamidoing-WMF raised the priority of this task from to High.
Whatamidoing-WMF updated the task description. (Show Details)
Legoktm renamed this task from Fix the error message mess for users who trigger the spam blacklist to VisualEditor not parsing SpamBlacklist error message.May 20 2015, 8:44 PM
Legoktm set Security to None.

This would be because the wiki you're editing has customised MediaWiki:Spamprotectiontext in a way which can't be properly supported by VisualEditor.

I guess we'll just have to add a hack to parse the message on the server :(

Change 221867 had a related patch set uploaded (by Alex Monk):
Parse SpamBlacklist error on the server-side

https://gerrit.wikimedia.org/r/221867

Jdforrester-WMF moved this task from To Triage to TR1: Releases on the VisualEditor board.
Jdforrester-WMF removed a project: Patch-For-Review.
Jdforrester-WMF edited a custom field.

Change 221867 merged by jenkins-bot:
Parse SpamBlacklist error on the server-side

https://gerrit.wikimedia.org/r/221867