https://bugzilla.wikimedia.org/show_bug.cgi?id=51146

--- Comment #4 from James Forrester <[email protected]> ---
(In reply to James Forrester from comment #2)
> This will be fixed when we switch over to Parsoid rendering the templates
> mid-edit rather than rely on PHP parser.

As follow-up, right now we don't have a way to give context to Parsoid, so when
parsing a template that generates part of a wider structure – e.g. a cell, row
or section of a table – we just give the template itself, contextless.

This means that Parsoid (correctly) returns a fostered-out block, which we
(correctly) splice into the location, meaning the document looks very odd.
However, it saves fine.

In the future we'd need a way to tell Parsoid that "this is an update to
transclusion id=1234 in structure id=4321" or something so Parsoid has context;
I assume this will need to wait until Parsoid puts GUIDs into the source for
us.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to