Page MenuHomePhabricator

When a template is in a section title, VE consider what is on the same line after as if it was into the template
Closed, ResolvedPublic

Description

Impossible to delete this addition: https//fr.wiktionary.org/w/index.php?title=pr%C3%A9dominer&diff=prev&oldid=18065635

because VE consider it as a template part: https://commons.wikimedia.org/wiki/File:VisualEditor_bug_on_fr.wikt.PNG

Tested on two PCs, including one with Firefox 28.0.


Version: unspecified
Severity: normal
URL: https://fr.wiktionary.org/w/index.php?title=pr%C3%A9dominer&diff=prev&oldid=18065635

Details

Reference
bz63289

Event Timeline

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

The problem here is that the template "{{S|étymologie}}" creates a broken block object, so everything after it has to be part of the same block. (This, BTW, is horrible wikitext.)

When Parsoid encounters this, it has no choice but to assume that the (mistaken) rest of the block was intended to be there, so groups it in with the template. Had the user put a newline in correctly it would have worked fine, but this isn't great. :-(

What do you suggest we should do in this case?