mediawiki-extensions-Discus.../tests/cases/heading-templated-parsoid/heading-templated-parsoid-formatted-legacy.html
Arlo Breault 69fd71b260 Parsoid's templated content have other attrs as well
Bug: T372019
Change-Id: Ic1d32570f5fed4d48a126d0ef4c8c04a82d7bbb4
2024-08-14 17:30:31 -04:00

28 lines
1.2 KiB
HTML

<section data-mw-section-id="0" id="mwAQ"></section><section data-mw-section-id="-1" id="mwAg"><div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Hello" data-mw-thread-id="h-Hello"><span data-mw-comment-start="" id="h-Hello"></span>Hello<span data-mw-comment-end="h-Hello"></span></h2></div>
</section><section data-mw-section-id="-1" id="mwAw"><div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Hi" typeof="mw:Transclusion" data-mw="{&quot;parts&quot;:[{&quot;template&quot;:{&quot;target&quot;:{&quot;wt&quot;:&quot;Hi&quot;,&quot;href&quot;:&quot;./Template:Hi&quot;},&quot;params&quot;:{},&quot;i&quot;:0}}]}" about="#mwt1" data-mw-thread-id="h-Hi"><span data-mw-comment-start="" id="h-Hi"></span>Hi<span data-mw-comment-end="h-Hi"></span></h2></div></section>
<pre>
newestComment: null
{
"wgDiscussionToolsPageThreads": [
{
"headingLevel": 2,
"name": "h-",
"type": "heading",
"level": 0,
"id": "h-Hello",
"replies": [],
"uneditableSection": true
},
{
"headingLevel": 2,
"name": "h-",
"type": "heading",
"level": 0,
"id": "h-Hi",
"replies": [],
"uneditableSection": true
}
]
}
</pre>