Feedback from pl.wp: https://pl.wikipedia.org/wiki/Wikipedia:Kawiarenka/Kwestie_techniczne#Inny_problem_nowego_gadżetu_(numerowane_wypowiedzi?)
On pages like https://pl.wikipedia.org/wiki/Wikipedia:Propozycje_do_Artykułów_na_Medal/Apostoł_Pawieł (a featured article nomination discussion), the discussion is separated into several sections using "fake headings" created with ; syntax in wikitext.
The fake headings are treated as part of the comments, and cause the indentation to be incorrectly detected, and replies to be added in the wrong place:
For comparison, when replying to a comment that isn't directly preceded by the fake heading:
The ; syntax generates <dt> tags in HTML, which has nothing to do with headings and is a mess semantically. Ideally these would be real ==== headings, but they're not. Such is life.
I am wondering if we should have a special case for this. I don't think treating them as real headings would work well (currently, headings in our model correspond to wikitext sections, which is nice). But perhaps we could treat them as non-comments, or separators – similarly to the horizontal lines ---- / <hr>, which came up previously here: T264116#6507021 (and also outdent templates might work the same way?).