Last modified: 2014-10-02 22:18:51 UTC
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?
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.