"New comments could not be found. They might have been deleted or moved." always appears when following a bundled notification.
Description
Details
Event Timeline
Yeah, that's happening. Example link: https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&dtnewcommentssince=c-Quiddity_%28WMF%29-20231214224100-Fram-20231214205200&dtinthread=1#Gigantic_section_titles_on_talk_pages%3F
Presumably an issue from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/933118 or https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/967561
I think it's this line:
if ( highlightResult.highlighted.length === 0 && highlightResult.requested.length > 1 || highlightResult.requestedSince ) {
...which is always going to evaluate to true if requestedSince.
I'll write a patch.
Change 983517 had a related patch set uploaded (by DLynch; author: DLynch):
[mediawiki/extensions/DiscussionTools@master] Stop comment-not-found notification always showing when requestedSince
Change 983517 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] Stop comment-not-found notification always showing when requestedSince