mediawiki-extensions-Discus.../modules
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
..
dt-ve Merge "Allow reply widget header and footer to wrap when it's narrow" 2020-08-10 22:27:51 +00:00
lib Handle timestamps in daylight saving time 2019-10-22 16:33:21 +02:00
.eslintrc.json eslint: Disable max-len 2020-04-21 15:50:19 +01:00
CommentController.js CommentController: Remove remains of client-side edit conflict handling 2020-08-10 20:27:57 +02:00
CommentItem.js Add getHeading method to CommentItem 2020-07-01 17:21:15 +01:00
controller.js Re-apply new reply API patches 2020-08-07 21:31:38 +02:00
dt.debug.js Refactor CommentParser 2020-07-20 23:38:10 +01:00
dt.init.js Refactor CommentParser 2020-07-20 23:38:10 +01:00
dt.init.less Do not include .dt-init-replylink-buttons in printouts 2020-08-10 17:55:08 +02:00
dt.ui.ReplyWidget.js Allow reply widget header and footer to wrap when it's narrow 2020-08-07 20:25:23 +00:00
dt.ui.ReplyWidget.less Allow reply widget header and footer to wrap when it's narrow 2020-08-07 20:25:23 +00:00
dt.ui.ReplyWidgetPlain.js Re-apply new reply API patches 2020-08-07 21:31:38 +02:00
dt.ui.ReplyWidgetVisual.js Re-apply new reply API patches 2020-08-07 21:31:38 +02:00
HeadingItem.js Improve ThreadItem documentation 2020-06-26 14:56:19 +02:00
highlighter.css Fix highlighter styles: match sig/timestamps border sizes 2020-07-14 23:17:29 +01:00
highlighter.js Make getNativeRange a method of ThreadItem 2020-07-22 21:56:48 +01:00
logger.js VisualEditorFeatureUse: trackdebug logging consistent with EditAttemptStep 2020-07-20 17:26:53 -05:00
modifier.js Skip to the end of the paragraph in the parser, not modifier 2020-08-20 19:35:55 +00:00
Parser.js Skip to the end of the paragraph in the parser, not modifier 2020-08-20 19:35:55 +00:00
ThreadItem.js parser: Fix comment ranges when timestamp has entities 2020-08-11 20:41:06 +02:00
utils.js Fix indentation level when replying to comments with mixed indentation 2020-08-06 01:25:33 +02:00