mediawiki-extensions-Discus.../includes
Bartosz Dziewoński e36dc8e78a Skip to the end of the paragraph in the parser, not modifier
When a comment ended before the end of a paragraph, the next
comment would begin right there in the middle of the paragraph.
This could result in the detected indentation level of that
comment being incorrect, and replies being inserted in wrong
places, as seen in the 'signatures-funny' test case.

The code moved to the parser was previously repeated twice in
addListItem() and addReplyLink(), which should have been a hint
that something isn't quite right.

Also, fix the code guarding against overlapping signatures,
now that signatures may not be at the end of a comment.

Bug: T260855
Change-Id: Ic26a87642f8a15d5de2f7073d4d8176b299c7f94
2020-08-20 19:35:55 +00:00
..
ApiDiscussionTools.php Re-apply new reply API patches 2020-08-07 21:31:38 +02:00
ApiDiscussionToolsEdit.php ApiDiscussionToolsEdit: Do not pass 'basetimestamp' 2020-08-10 20:29:55 +02:00
CommentItem.php Refactor CommentParser 2020-07-20 23:38:10 +01:00
CommentModifier.php Skip to the end of the paragraph in the parser, not modifier 2020-08-20 19:35:55 +00:00
CommentParser.php Skip to the end of the paragraph in the parser, not modifier 2020-08-20 19:35:55 +00:00
CommentUtils.php Skip to the end of the paragraph in the parser, not modifier 2020-08-20 19:35:55 +00:00
Data.php Reduce duplication between PHP parser and data gen for JS parser 2020-05-19 20:54:44 +02:00
HeadingItem.php Improve ThreadItem documentation 2020-06-26 14:56:19 +02:00
Hooks.php Use $wgLocaltimezone global instead of request context 2020-06-17 23:14:13 +02:00
ImmutableRange.php Remove various phan suppressions and fix issues 2020-06-12 20:35:59 +01:00
NodeFilter.php CommentParser.php: Use tree walking instead of XPath 2020-07-15 16:40:50 +00:00
ThreadItem.php Merge "Fix indentation level when replying to comments with mixed indentation" 2020-08-10 22:27:44 +00:00
TreeWalker.php CommentParser.php: Use tree walking instead of XPath 2020-07-15 16:40:50 +00:00