Page MenuHomePhabricator

VisualEditor: Give the user a chance to understand if he made a mistake and to fix it
Closed, ResolvedPublic

Description

The author of this revision https://fr.wikipedia.org/w/index.php?title=La_Grange_au_Lac&diff=107837547&oldid=107804115 realizes that the wikicode he copy/pasted was not valid. The question is, does VE really need 5 nowiki tags to inform us? Can there be a good way of warning the user, maybe one which at the same time allows unexperienced editors to avoid saving and fix that mess?


Version: unspecified
Severity: normal

Details

Reference
bz71422

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:48 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz71422.

There is already a warning that appears in the top right corner. Maybe that warning could be made better?

The number of nowiki tags there is a bit excessive; that's a bug in Parsoid.

Maybe we could have an additional warning on save, like we do for suspected page corruption?

I'll file a bug against Parsoid, thanks.
Could we expose the specific issue, like, telling at which line it is and highlighting it? I realize pointing at code is not a great idea in a visual editor.

It could also be a warning just like those for "Comments", with a different icon and/or color. This plus a warning on save, indicating the line, suggesting to "switch to source editing" and correct it directly in the code ?
But this won't be efficient if the user doesn't know the wikicode.

Jdforrester-WMF changed the task status from Open to Stalled.Feb 2 2015, 7:24 PM

I'll file a bug against Parsoid, thanks.

Any ticket ID handy?