Page MenuHomePhabricator

Spam links trigger unknown error on mobile
Closed, ResolvedPublic

Description

When I try to insert a spam link (listed on MediaWiki:Spam-blacklist) on mobile, I get the standard error message [[https://translatewiki.net/wiki/MediaWiki:Mobile-frontend-editor-error/en|Error, edit not saved.]] without any notice on what caused the problem. It should be somehow shown to the user so that they can correct it.

Event Timeline

@Jdlrobson I used the source editor. Is that also a VisualEditor component?

Yep. It's a little confusing but VisualEditor is a project not the actual extension and this tag is the best way to get the attention of the VE team.

Deskana changed the task status from Open to Stalled.Jun 6 2017, 6:32 PM
Deskana subscribed.

I can't reproduce this problem. When I tried to add a link from the spam blacklist, I got a message specific to the situation. Can you give more specific steps to reproduce?

Screen Shot 2017-06-06 at 19.29.16.png (1×2 px, 487 KB)

I should note that presenting users with absolutely gigantic walls of text like that is a usability disaster and violates some fairly basic tenets of modern web design. Alas, this is not going to change.

@Deskana this is on the mobile web source editor but tagged with VisualEditor because that's how we've been told to file these bugs (see https://phabricator.wikimedia.org/T167078#3319584)

I should note that presenting users with absolutely gigantic walls of text like that is a usability disaster and violates some fairly basic tenets of modern web design. Alas, this is not going to change.

It's enwiki-specific, they use a half-screen message while the extension's standard is only one line.

It's enwiki-specific, they use a half-screen message while the extension's standard is only one line.

Yes, I'm aware of that. The fact it's enwiki-specific is exactly why it is not going to change.

Tacsipacsi changed the task status from Stalled to Open.Jun 15 2018, 8:55 AM

New symptom: nothing happens. After I click Save, it thinks a bit, and returns to the preview page.

I tested this again.

The behavior in mobile visual editor is still the same as @Deskana found in 2017 (T167078#3319983), and does not exhibit this issue.

The behavior in mobile wikitext editor is roughly the same – there's still the same error message, although the layout has changed since T167078#3320072 (and I couldn't reproduce the issue in T167078#4289978).

VisualWikitext
localhost_3080_w_index.php_title=Spam_test&redlink=1&mobileaction=toggle_view_mobile(iPhone 5_SE).png (1×640 px, 105 KB)
localhost_3080_w_index.php_title=Spam_test&redlink=1&mobileaction=toggle_view_mobile(iPhone 5_SE) (1).png (1×640 px, 46 KB)

My screenshot (in visual mode) shows the default error message, which is much shorter than on English Wikipedia, but the text of the message lies within the purview of each site's community.

Given the above, I don't think this is a blocker to T221185: Prepare visual editor to be a default mobile editor (although obviously it would be good to fix at some point).

matmarex claimed this task.

After the changes in T228897, the usual desktop error message is used now. Here's how it looks like in the mobile editor:

image.png (667×375 px, 41 KB)