mediawiki-extensions-Discus.../tests/qunit/pages/parsoid
Bartosz Dziewoński 30fcfec1fd parser: Merge multiple comments on one line
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
2020-01-22 02:21:43 +01:00
..
en-913983958-modified.html parser: Merge multiple comments on one line 2020-01-22 02:21:43 +01:00
en-913983958.html Integration tests for parsing 2019-10-30 00:13:56 +01:00
en-913983958.json parser: Merge multiple comments on one line 2020-01-22 02:21:43 +01:00
pl-55171451-modified.html parser: Merge multiple comments on one line 2020-01-22 02:21:43 +01:00
pl-55171451.html Integration tests for parsing 2019-10-30 00:13:56 +01:00
pl-55171451.json parser: Merge multiple comments on one line 2020-01-22 02:21:43 +01:00