mediawiki-extensions-Discus.../modules
Bartosz Dziewoński 606d6b34ec Add reply links at the end of a line, even if the signature is in the middle
Previously they were added at the end of the text node containing the
timestamp, which was usually the end of the line, but not always.

And also fix the same problem for inserting the actual replies (or
reply widgets). This replaces an undocumented hack that prevented our
own reply links from triggering this bug (without it, the reply widget
would be inserted before the reply link rather than after).

While we're here, remove unintentional spacing that appeared before
some reply links, caused by trailing whitespace in text nodes.

Add tests for all of the above.

Bug: T245695
Change-Id: I354b63e2446bb996176a2e3d76abf944127f307e
2020-03-02 21:39:37 +01:00
..
lib Handle timestamps in daylight saving time 2019-10-22 16:33:21 +02:00
.eslintrc.json build: Update linters 2019-10-28 12:29:56 +00:00
CommentTarget.js Blacklist/convert tables and headings in VE target 2020-02-18 15:44:40 +00:00
CommentTargetWidget.js Blacklist/convert tables and headings in VE target 2020-02-18 15:44:40 +00:00
CommentTargetWidget.less Remove vertical padding from VE visual target 2020-02-18 15:53:45 +00:00
controller.js Add reply links at the end of a line, even if the signature is in the middle 2020-03-02 21:39:37 +01:00
dt.debug.js Re-add debug highlighter 2019-10-24 23:21:40 +02:00
dt.init.js Fix re-initialization after page is updated 2020-01-04 18:49:55 +01:00
dt.init.less Merge "Highlight comment after saving" 2019-12-03 16:49:01 +00:00
dt.ui.ReplyWidget.js ReplyWidget: Disable "Reply" button if input is empty 2020-02-29 03:58:28 +01:00
dt.ui.ReplyWidget.less Re-style preview 2020-02-08 00:13:41 +00:00
dt.ui.ReplyWidgetPlain.js Instrumentation 2020-02-24 19:50:27 +01:00
dt.ui.ReplyWidgetVisual.js Instrumentation 2020-02-24 19:50:27 +01:00
highlighter.css Rename the lines denoting child comments in debug mode to "rulers" 2020-02-10 22:14:38 +01:00
highlighter.js Improve comment ruler drawing in debug mode when indentation is weird 2020-02-11 02:32:32 +01:00
logger.js Correct the integration for logging 2020-02-28 17:42:21 +00:00
modifier.js Add reply links at the end of a line, even if the signature is in the middle 2020-03-02 21:39:37 +01:00
parser.js Work around mw.Uri crash on fallback encoding in links 2020-02-29 19:08:01 +01:00