mediawiki-extensions-Discus.../tests/cases/heading-style-parsoid/heading-style-parsoid-formatted-legacy.html

27 lines
1,022 B
HTML
Raw Permalink Normal View History

<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"><h2 style="border: 1px solid green; background: lightgreen; padding: 5px; font-size: 1.5em;" id="Hello!" data-mw-thread-id="h-Hello!"><span data-mw-comment-start="" id="h-Hello!"></span><span id="Hello.21" typeof="mw:FallbackId"></span>Hello!<span data-mw-comment-end="h-Hello!"></span></h2></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-Hello!",
"replies": []
}
]
}
</pre>