mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-29 21:36:26 +00:00
30fcfec1fd
Even when you have multiple signatures by multiple users in one paragraph (or list item), it's still basically a single comment. We don't want to offer multiple buttons to reply to it. The changed parser test cases are illustrative: * All affected comments in the "pl" example are comments with a "post-scriptum", which is now more intuitively treated as part of the main comment. * The first comment in the "en" example would probably have been better if it wasn't merged, but a weird use of the outdent template causes us to not be able to distinguish that the two parts of the comment display on separate lines. * The last comment in the "en" example (isn't that neat?) was previously incorrectly treated as two comments, because there's a timestamp in the middle of it (the user is referring to another comment). * Remaining affected comments in the "en" example are also comments with a "post-scriptum" and their treatment is clearly better now. It also accidentally fixes some problems with modifier tests (but not all), where previously <dl> nodes would be inserted in the middle of <p> nodes, to reply to the comments which are now merged. Bug: T240640 Change-Id: I0f2d9238aff75d78286250affd323cd145661a11 |
||
---|---|---|
.. | ||
en-913983958-modified.html | ||
en-913983958.html | ||
en-913983958.json | ||
pl-55171451-modified.html | ||
pl-55171451.html | ||
pl-55171451.json |