mediawiki-extensions-Discus.../modules
Bartosz Dziewoński da11a3be73 When launched from an old revision, reply to latest revision
The "Reply" buttons were active when viewing an old revision of the
page (&oldid=1234). This was probably unintentional, and it would undo
all more recent comments if you saved yours.

However, I think it would be a useful feature. You often end up
viewing old revisions when reviewing changes to pages from your
watchlist or email notifications.

Now, when the reply widget is launched from an old revision, it will
try to find the relevant parent comment in the latest revision of the
page, and edit that revision when inserting the reply. If the parent
comment is gone, it shows a useful error message.

Bug: T235761
Change-Id: I8c5b631d3bfb62196fd219cbcd7d497408d187a7
2020-02-21 17:09:47 +00: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 Option to integrate VisualEditor instead of textarea 2020-01-07 22:15:03 +00:00
CommentTargetWidget.js Option to integrate VisualEditor instead of textarea 2020-01-07 22:15:03 +00:00
CommentTargetWidget.less Option to integrate VisualEditor instead of textarea 2020-01-07 22:15:03 +00:00
controller.js When launched from an old revision, reply to latest revision 2020-02-21 17:09:47 +00: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 When launched from an old revision, reply to latest revision 2020-02-21 17:09:47 +00:00
dt.ui.ReplyWidget.less Re-style preview 2020-02-08 00:13:41 +00:00
dt.ui.ReplyWidgetPlain.js Merge "ReplyWidget: Handle save errors" 2020-01-29 20:51:50 +00:00
dt.ui.ReplyWidgetVisual.js Merge "ReplyWidget: Handle save errors" 2020-01-29 20:51:50 +00: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
modifier.js Pick reply insertion point based on parser tree, not DOM tree 2020-01-23 21:13:12 +01:00
parser.js Stop using native Range objects, they're too annoying 2020-02-05 19:42:03 +01:00