Page MenuHomePhabricator

Enforce proper nesting of most templates, and encapsulate compound content blocks
Open, MediumPublic


Transclusions can currently affect arbitrary parts of the page by producing unbalanced HTML. This makes both WYSIWYG editing and efficient updates difficult. We would thus like to move towards properly nested templates as much as possible. For existing multi-transclusion content we would like to enforce nesting as a unit, possibly using a <domparse> extension-like tag wrapping such a content block. This would still let us reuse expansions for multi-template content, which is important for large list pages like

The solution should:

  • work with old and new revisions, with predictable HTML diff behavior
  • support multi-transclusion/extension content reuse
  • support a mix of transclusions, extension tags and page content
  • work well with the VisualEditor preview

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:20 AM
bzimport set Reference to bz55524.

Lowering the priority a bit, as other issues are more pressing currently.

Arlolra removed GWicke as the assignee of this task.Nov 25 2014, 8:04 PM
Arlolra set Security to None.
ssastry raised the priority of this task from Medium to High.Dec 9 2014, 5:12 PM
ssastry lowered the priority of this task from High to Medium.
ssastry moved this task from Backlog to In Progress on the Parsoid board.
ssastry moved this task from In Progress to Needs Discussion on the Parsoid board.
ssastry moved this task from Needs Discussion to Backlog on the Parsoid board.Dec 17 2015, 11:07 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 17 2015, 11:07 PM