Last modified: 2014-09-25 10:38:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55368, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53368 - Several issues with templated list items
Several issues with templated list items
Status: NEW
Product: Parsoid
Classification: Unclassified
token-stream transforms (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-26 20:32 UTC by Gabriel Wicke
Modified: 2014-09-25 10:38 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gabriel Wicke 2013-08-26 20:32:40 UTC
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

2) 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.
Comment 1 Kelson [Emmanuel Engelhart] 2014-09-25 10:38:02 UTC
Is this the same bug (additional empty bullet)?
http://parsoid-lb.eqiad.wikimedia.org/eswiki/Maserati?oldid=76628536#Enlaces%20externos

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links