mediawiki-extensions-Discus.../includes
Bartosz Dziewoński 42ce942c86 Introduce comment "names" to identify comments across revisions/pages
The existing comment IDs can't be used to find the same comment on
a different revision or page (when it's transcluded), because they
depend on the comment's parent and its position on the page.

Comment names depend only on the author and timestamp. The trade-off
is that they can't distinguish comments posted within the same minute,
or in the same edit, so we will still need the IDs sometimes.

Prefer using comment names when replying, if they're not ambiguous.
This fixes T273413 and T275821.

Heading names depend on the author and timestamp of the oldest comment.
This way we don't have to detect changes to the heading text, but we
can't distinguish headings without any comments.

Bug: T274685
Bug: T273413
Bug: T275821
Change-Id: Id85c50ba38d1e532cec106708c077b908a3fcd49
2021-03-23 16:08:42 +00:00
..
Hooks Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
ApiDiscussionTools.php Return transcludedFrom data for headings as well as comments 2021-02-25 23:07:42 +01:00
ApiDiscussionToolsEdit.php Introduce comment "names" to identify comments across revisions/pages 2021-03-23 16:08:42 +00:00
CommentFormatter.php Give comments IDs so they can be scrolled to with hash links 2021-03-20 15:43:23 +00:00
CommentItem.php Add stripTrailingSeparator to getBodyText as well as getBodyHTML 2021-02-23 23:09:17 +00:00
CommentModifier.php Trim signatures when added in an empty existing node, too 2021-03-08 23:38:46 +00:00
CommentParser.php Introduce comment "names" to identify comments across revisions/pages 2021-03-23 16:08:42 +00:00
CommentUtils.php Give comments IDs so they can be scrolled to with hash links 2021-03-20 15:43:23 +00:00
Data.php Stop using deprecated Language methods 2021-02-27 14:48:49 +00:00
HeadingItem.php Move ID->title logic into HeadingItem 2020-11-05 16:10:39 +00:00
ImmutableRange.php ImmutableRange: Guard against appending empty fragments 2020-11-16 19:22:26 +00:00
NodeFilter.php CommentParser.php: Use tree walking instead of XPath 2020-07-15 16:40:50 +00:00
ThreadItem.php Introduce comment "names" to identify comments across revisions/pages 2021-03-23 16:08:42 +00:00
TreeWalker.php Base TreeWalker implementation on PHPDOM 2020-11-19 23:45:42 +00:00