VisualEditor: Templated table cells not rendered properly in VE, but correct in Parsoid output
Closed, ResolvedPublic

Description

Compare the charts table in

In VE, the table cells seem to be squashed into one. The DOM looks like nested divs there, which would explain the different rendering.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50951

GWicke created this task.Jul 2 2013, 8:45 PM

This is because the HTML looks like <td typeof="mw:Transclusion" about="#mwt139">...</td><td about="#mwt139">...</td> and so the group of table cells is considered a template, and so the CE rendering is wrapped in a <div>. I'd like to be able to render templates (and aliens) without wrapper divs in CE, but I'm not sure how realistic that is.

Is this bug responsible for the {{yes}} and {{no}} templated cells not rendering as separate cells at https://en.wikipedia.org/w/index.php?title=Comparison_of_open-source_software_hosting_facilities&veaction=edit&section=1 ?

Wikifram wrote:

Note that this bug affects all 5,000 pages that use Template:Episode list on enwiki.

  • Bug 52485 has been marked as a duplicate of this bug. ***

Fixed by gerrit 140439.

Add Comment