Last modified: 2014-08-20 22:45:18 UTC
Steps to Reproduce: 1. Open https://ru.wikipedia.org/w/index.php?oldid=63644335&veaction=edit and look at the second section. The wikitext is: === Б === * [[Борисов, Бойко Методиев]] (род. 1959) — болгарский политик. * {{NL|Борисов, Борис}} {{NL}} is a template that transcludes the rest of this short list. 2. The first bullet point is plain wikitext. Click on the first item and try to change some of the text (e.g., to change the birth date from 1959 to 1960). Actual Results: The first bullet point can only be edited as the "content" part of a complex transclusion. Expected Results: That plain-text list items can be edited as plain old list items. Reproducible: Didn't try
This is not a problem with lists per se. This is a result of how Parsoid represents templates in the DOM, and where some transclusions doesn't generate well-balanced DOM structures. Parsoid marks complete DOM subtrees as template-generated/affected. So, in scenarios where output of a template spans multiple dom subtrees, all those affected subtrees are wrapped as one piece. You can reproduce this behavior with a simple example like: "a {{echo|b\n\nc}} d". In this example, b and c belong to different paragraphs which also contain content from outside the transclusion. So, all of it is pulled into the template wrapping. This is the same behavior where multiple transclusions are used to generate football tables, succession tables, etc.