mediawiki-extensions-Discus.../tests/cases/signatures-funny/signatures-funny-formattedreply.html
Ed Sanders 3aca622894 Treat headings like comments now they have IDs
Use the same logic for marking ranges in the document, and ensure
that the heading range does not include section edit links or
section numberings.

Change-Id: I782caafc34fee2a822b0a17b24dd6b9528202eca
2020-10-28 12:38:18 +00:00

12 lines
9.8 KiB
HTML

<h2><span class="mw-headline" id="multi_signatures" data-mw-comment='{"type":"heading","level":0,"id":"h|multi_signatures|2020-01-25T08:31:00.000Z","replies":["c|Matma Rex|2020-01-25T08:31:00.000Z|multi_signatures","c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures","c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures|1"],"headingLevel":2,"placeholderHeading":false}'><span data-mw-comment-start="h|multi_signatures|2020-01-25T08:31:00.000Z"></span>multi signatures<span data-mw-comment-end="h|multi_signatures|2020-01-25T08:31:00.000Z"></span></span><span class="mw-editsection"><span class="mw-editsection-bracket"><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:31:00.000Z|multi_signatures"></span>[</span><a href="/w/index.php?title=Talk:Scratch&amp;action=edit&amp;section=5" title="Edit section: multi signatures">edit source</a><span class="mw-editsection-bracket">]</span></span></h2>
<p>aaa <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:31, 25 January 2020 (UTC) amended! <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:41, 25 January 2020 (UTC)<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":1,"id":"c|Matma Rex|2020-01-25T08:31:00.000Z|multi_signatures","replies":["c|Matma Rex|2020-01-25T08:32:00.000Z|Matma Rex|2020-01-25T08:31:00.000Z"],"timestamp":"2020-01-25T08:31:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:31:00.000Z|multi_signatures"></span>
</p>
<ul><li><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:32:00.000Z|Matma Rex|2020-01-25T08:31:00.000Z"></span>bbb <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:32, 25 January 2020 (UTC)<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":2,"id":"c|Matma Rex|2020-01-25T08:32:00.000Z|Matma Rex|2020-01-25T08:31:00.000Z","replies":["c|Matma Rex|2020-01-25T08:33:00.000Z|Matma Rex|2020-01-25T08:32:00.000Z"],"timestamp":"2020-01-25T08:32:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:32:00.000Z|Matma Rex|2020-01-25T08:31:00.000Z"></span>
<ul><li><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:33:00.000Z|Matma Rex|2020-01-25T08:32:00.000Z"></span>ccc <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:33, 25 January 2020 (UTC) amended! <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:43, 25 January 2020 (UTC)<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":3,"id":"c|Matma Rex|2020-01-25T08:33:00.000Z|Matma Rex|2020-01-25T08:32:00.000Z","replies":[],"timestamp":"2020-01-25T08:33:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:33:00.000Z|Matma Rex|2020-01-25T08:32:00.000Z"></span></li></ul></li></ul><p><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures"></span>multi-line top level <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:34, 25 January 2020 (UTC)<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":1,"id":"c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures","replies":[],"timestamp":"2020-01-25T08:34:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures"></span>
</p><p><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures|1"></span>ddd <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:34, 25 January 2020 (UTC)<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":1,"id":"c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures|1","replies":["c|Matma Rex|2020-01-25T08:35:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z","c|Matma Rex|2020-01-25T08:36:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z","c|Matma Rex|2020-01-25T08:37:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z"],"timestamp":"2020-01-25T08:34:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures|1"></span>
</p>
<ul><li><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:35:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z"></span>eee <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:35, 25 January 2020 (UTC) amended! <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:45, 25 January 2020 (UTC)<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":2,"id":"c|Matma Rex|2020-01-25T08:35:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z","replies":[],"timestamp":"2020-01-25T08:35:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:35:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z"></span></li>
<li><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:36:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z"></span>fff <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:36, 25 January 2020 (UTC)<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":2,"id":"c|Matma Rex|2020-01-25T08:36:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z","replies":[],"timestamp":"2020-01-25T08:36:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:36:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z"></span> also!</li>
<li><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:37:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z"></span>fff <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:37, 25 January 2020 (UTC) and <i>also</i>!<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":2,"id":"c|Matma Rex|2020-01-25T08:37:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z","replies":["c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z","c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z|1"],"timestamp":"2020-01-25T08:37:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:37:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z"></span>
<ul><li><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z"></span>multi-line reply <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:38, 25 January 2020 (UTC)<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":3,"id":"c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z","replies":[],"timestamp":"2020-01-25T08:38:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z"></span></li>
<li><span data-mw-comment-start="c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z|1"></span>ggg <b><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> | <a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a></b> 08:38, 25 January 2020 (UTC)<span class="dt-init-replylink-buttons"><span class="dt-init-replylink-bracket">[</span><a class="dt-init-replylink-reply" role="button" tabindex="0" data-mw-comment='{"type":"comment","level":3,"id":"c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z|1","replies":[],"timestamp":"2020-01-25T08:38:00.000Z","author":"Matma Rex"}'>reply</a><span class="dt-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z|1"></span></li></ul></li></ul>