Page MenuHomePhabricator

Link provided by collation of multiple new topic notifications does not link somewhere sensible
Closed, ResolvedPublic

Description

In this notification:

image.png (683×520 px, 119 KB)

the individual notifications link to the sections they created, but the top group ("6 new topics on..") links to

https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&dtnewcommentssince=c-Timeshifter-20230328185900-Same_names_for_SVG_and_PNG_versions_of_same_map&dtinthread=1&markasread=276888015%7C276879510%7C276829756%7C276825721%7C276810350%7C276806850&markasreadwiki=enwiki#Incorrect_preview_images

(which is copied from the comment notifications code).

It shows new comments "since" the oldest one in the group, but only highlights one comment as dtinthread=1 limits it to one thread.

Removing dtinthread=1 would also highlight new comments in threads other than the new ones, which is also incorrect:
https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&dtnewcommentssince=c-Timeshifter-20230328185900-Same_names_for_SVG_and_PNG_versions_of_same_map&markasread=276888015%7C276879510%7C276829756%7C276825721%7C276810350%7C276806850&markasreadwiki=enwiki#Incorrect_preview_images

Event Timeline

Change 904570 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/DiscussionTools@master] New topics notifications: Only highlight comments in new threads

https://gerrit.wikimedia.org/r/904570

Change 904570 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] New topics notifications: Only highlight comments in new threads

https://gerrit.wikimedia.org/r/904570

✅ Link provided by collation of multiple new topic notifications takes the user to the newly created topics with the description highlighted

Screenshot 2023-04-21 at 23.02.01.png (1×2 px, 260 KB)

❓For mobile, it takes me to the talk page and I have to scroll down to see the newly created topics. Also they are not highlighted. See behaviour.

matmarex subscribed.

❓For mobile, it takes me to the talk page and I have to scroll down to see the newly created topics. Also they are not highlighted. See behaviour.

Filed T336190

❓For mobile, it takes me to the talk page and I have to scroll down to see the newly created topics. Also they are not highlighted. See behaviour.

Filed T336190

This can be verified and closed then. Thanks!