mediawiki-extensions-Discus.../includes
Bartosz Dziewoński d0e4aeaecb Fix notifications when new comment is under subheading
The user interface only allows you to subscribe to level 2 headings.
But we would generate events for whatever heading was the closest,
If it was e.g. level 3, no one would receive that notification.

Now we generate events for the closest level 2 heading, or we don't
generate the event at all if there isn't one (if the only headings are
of level 3 and below, or level 1, or if the comment is added before
the first heading on the page).

Bug: T286736
Change-Id: Iae99853070e353ab81c9cc29ef1d53c877adfc66
2021-07-24 05:28:10 +02:00
..
Actions Notification unsubcribe button 2021-06-01 23:29:53 +02:00
Hooks build: Updating dependencies 2021-07-22 16:29:04 +00:00
Notifications Fix notifications when new comment is under subheading 2021-07-24 05:28:10 +02:00
ApiDiscussionTools.php Include comment names in 'transcludedfrom' API response 2021-04-07 22:46:36 +02:00
ApiDiscussionToolsEdit.php Merge "Pass whole context to internal action API requests" 2021-05-26 16:46:13 +00:00
ApiDiscussionToolsSubscribe.php Config option to enable topic subscriptions backend and dtenable=1 URL parameter 2021-06-14 16:18:18 +02:00
CommentFormatter.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
CommentItem.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
CommentModifier.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
CommentParser.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
CommentUtils.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
Data.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
HeadingItem.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
ImmutableRange.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
NodeFilter.php CommentParser.php: Use tree walking instead of XPath 2020-07-15 16:40:50 +00:00
ServiceWiring.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
SubscriptionItem.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
SubscriptionStore.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
ThreadItem.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
TreeWalker.php build: Updating dependencies 2021-07-22 16:29:04 +00:00