Page MenuHomePhabricator

"Add discussion" fails with a message saying it succeeded if it trips the spam filter
Closed, InvalidPublic

Description

All of the following should be done using the mobile site.

  1. Go to any existing talk page on Wiktionary (e.g. create a sandbox subpage of your user talk)
  2. Tap the "Add discussion" button at the bottom of the page
  3. Write a comment that will trip the spam filter (I found the bug trying to add the second Google hit for the search "Empire of the Ants insect overlords" - using the Google-wrapped url, not the actual site)
  4. Tap "Save"

Expected results: "Error, edit not saved" as happens with a normal page edit. (A normal edit that trips the filter still doesn't say what the error was, unlike the desktop site, but at least there's an error message.)

Actual results: "New topic added to talk page!" but, actually, it wasn't.

Event Timeline

Jdlrobson subscribed.

I guess ConfirmEdit will need some kind of MobileFrontend/Minerva integration...

Jdlrobson changed the task status from Open to Stalled.Mar 26 2021, 10:20 PM

Stalled per T278590

matmarex subscribed.

This issue seems a bit unclear, but it may have been partially fixed.

If you try to post a topic that trips the spam filter (that is, https://en.wikipedia.org/wiki/MediaWiki:Spam-blacklist, and similar on other wikis), you do get an error message now, but it doesn't explain what the problem is – I think this issue is covered in T281544:

image.png (1×640 px, 39 KB)

However, if you try to post a topic that requires filling out a CAPTCHA (that is, on Wikimedia wikis, adding any external link, even an allowed one), you still get the erroneous behavior you described – this issue is covered in T248024.

I'll close this task, and let's continue tracking this in the two more precise tasks I linked.