Page MenuHomePhabricator

Several issues with templated list items
Open, MediumPublic

Description

From https://bugzilla.wikimedia.org/show_bug.cgi?id=51119#c12, which is a VE bug about ease of templated list editing:

  1. Completely templated list items currently always break up lists in Parsoid.

Test case: echo -ne '*foo\n{{:User:GWicke/li|bar}}\n*baz' | node parse

  1. This covers up another bug in the template encapsulation code.

Template-affected lists are only marked as such because the list handler starts
a new list for each templated list item. This (correctly) places the meta
element we use to track template-affected content outside the <ul> triggered by
the template-generated list item. Once 1) is fixed, we will have to fix this up
with a special rule in the encapsulation code that marks the parent list as
template-affected if one of its wikitext-syntax items is template-generated.
The meta element will end up between list items, so a propagation rule should
be sufficient.

None of this will do much for the ease of editing. I realize that fixing up a
lot of pages to use explicit bullets in the page will create a lot of work for
bots, but at the same time I don't see a sane alternative that provides a good
editing experience.


Version: unspecified
Severity: normal

Details

Reference
bz53368

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:51 AM
bzimport set Reference to bz53368.
Arlolra lowered the priority of this task from High to Medium.Apr 2 2015, 5:41 PM
Arlolra subscribed.