Page MenuHomePhabricator

Reply added in the wrong place in case of list gap in the discussion
Open, Needs TriagePublic

Description

Consider a discussion page like this (https://en.wikipedia.beta.wmflabs.org/wiki/Talk:List_gap):

== Blah ==
These comments demonstrate [[wikipedia:MOS:LISTGAP|list gap]]. ~~~~
: Blah. ~~~~
:: Blah blah. ~~~~

:: I broke it! ~~~~

Trying to reply to the top-level comment should add the reply at the very bottom. Instead, it adds the reply at the gap:

Details

Related Gerrit Patches:
mediawiki/extensions/DiscussionTools : master[WIP] Pick reply insertion point based on parser tree, not DOM tree