The use of "DOM tree" is a bit unclear to me. Does it refer to a wikitext DOM, or an HTML DOM? Is that DOM then processed to generate HTML, or is it already HTML?
I think we will actually want both - constructs that return a wikitext DOM for further processing, and constructs that return an HTML DOM that will be used as-is. The latter would be useful for special page transclusion, parser tag extensions, and the transclusion of non-wikitext content in general. -- Duesentrieb ā 22:25, 24 August 2016 (UTC)