mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +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 |
||
---|---|---|
i18n | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json |