Page MenuHomePhabricator

VisualEditor: Handle transclusions within a table better
Closed, ResolvedPublic

Description

Author: adaml

Description:
When editing a table which includes a transclusion as seen on http://test.wikipedia.org/wiki/TableRowTest it seems to copy the row and paste it before the start of the table.

In the example above, edit the page and select one of the rows for transclusion and change parameter 1 to a different value, all seems to be good until you save the page which screws it up


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50589
https://bugzilla.wikimedia.org/show_bug.cgi?id=50607

Details

Reference
bz50951

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:58 AM
bzimport set Reference to bz50951.

Confirmed. This is probably the same problem as bug 50589, but this is a nice simple case and might be easier to solve.

This might be related to VisualEditor bug 50607 and foster-parenting.

The table will still be broken after an edit as Parsoid doesn't run with context yet.