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

Gabriel Wicke <gwi...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gwi...@wikimedia.org

--- Comment #11 from Gabriel Wicke <gwi...@wikimedia.org> ---
(In reply to comment #8)
> That said, there is a possibility that for lists, this problem is solvable by
> marking a series of adjacent list nodes as template generated -- Parsoid
> already has the mechanism of marking a forest of adjacent DOM nodes as
> template-generated instead of marking just a root-node. 

The problem is that the list is also template-affected, and needs to be marked
as such. A change in transclusion output (say, from *foo to #foo) will change
the list structure significantly, so it is not safe to mark the list items
only.

The example page exposes a different issue though, which you mention as well:
The comments between transclusions (which probably end up on their own line
after expansion) break up the list in Parsoid, but don't do so in PHP (bug
52762). This is not surprising as the PHP parser strips those comments before
doing anything else, but still something we could improve by not breaking up
the list.

Sadly, the effect of this will be that the entire list will be
template-affected.

This problem would not be there if the bullet for the list item was not
templated:

* {{:Christian Delius}}
* [[Christina Rau]], geb. Delius (* 1956), deutsche Politologin

In this case we know that the first list item will always create an unordered
list, no matter what the transclusion generates (ignoring unbalanced
transclusions for now). Each item will be editable separately without being
sucked into a big template-affected block.

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

Reply via email to