mediawiki-extensions-Discus.../tests/cases/mixed-indentation/mixed-indentation-modified.html
Bartosz Dziewoński b09bbfe668 Disambiguate comments by parent ID, rather than sequential numbers
Sequential numbers aren't great because they change when an earlier
comment is archived. Parent comment/heading IDs should change less
often.

This also makes much more sense for disambiguating subsections,
e.g. a dozen identical ===Votes=== sections for a dozen proposals.

Bug: T264478
Change-Id: I466454984fd919ebef35f2b37ddb5d86dc842996
2020-10-22 02:19:21 +02:00

17 lines
1.5 KiB
HTML

<div class="mw-parser-output"><h2><span class="mw-headline" id="1">1</span></h2>
<p>Comment
</p>
<ul><li>with list <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"><font color="green"><i>talk</i></font></a>) 23:01, 29 July 2020 (UTC)</li></ul><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-07-29T23:01:00.000Z|1</dd></dl>
<h2><span class="mw-headline" id="2">2</span></h2>
<p>Comment
</p>
<ul><li>with list</li></ul>
<p>and PS <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"><font color="green"><i>talk</i></font></a>) 23:01, 29 July 2020 (UTC)
</p><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-07-29T23:01:00.000Z|2</dd></dl>
<h2><span class="mw-headline" id="3">3</span></h2>
<p>Lead comment <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"><font color="green"><i>talk</i></font></a>) 23:37, 29 July 2020 (UTC)
</p>
<dl><dd>Comment
<ul><li>with list <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"><font color="green"><i>talk</i></font></a>) 23:38, 29 July 2020 (UTC)</li></ul><dl><dd data-parsoid="{}">Reply to c|Matma Rex|2020-07-29T23:38:00.000Z|Matma Rex|2020-07-29T23:37:00.000Z</dd></dl></dd><dd data-parsoid="{}">Reply to c|Matma Rex|2020-07-29T23:37:00.000Z|3</dd></dl>
</div>