Page MenuHomePhabricator

Show wish titles on lists (like on Wikidata)
Open, Stalled, LowPublicFeature

Description

User story

As someone who submits, edits, and browses wishes, I want to be able to see the current titles of wishes on Watchlist, Contributions, categories, etc. next to W123 (cf. Qn and Pn on Wikidata) so I don't have to visit each link to know what it's about.

The primary use cases are /Votes and Talk: pages, as changes to the wishes themselves are usually less frequent and the diff will immediately reveal what it's about, whereas votes and talks typically reference the subject only obliquely.

Checklist

  • Special:RecentChanges and Special:Watchlist (r1202896)
  • Special:Contributions
  • Category membership
  • Special:NewPages

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1202896 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] ChangesListHooks: show entity titles in recent changes and watchlists

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

Change #1202896 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] ChangesListHooks: show entity titles in recent changes and watchlists

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

I hope the title will link to the main page ([[Community Wishlist/W...]]) when the list item is about a subpage, talk page, etc. I made my script do this and I've found it useful.

I hope the title will link to the main page ([[Community Wishlist/W...]]) when the list item is about a subpage, talk page, etc. I made my script do this and I've found it useful.

Couldn't that be adverse to patrollers? The linked page should be the page that was actually changed, I think. I was nervous even showing the wish titles in recent changes.

As a patroller scanning titles on recent changes, at quick glance you'll see the wish titles stand out as if they were actual titles. The descriptive and sometimes lengthy names may appear like vandalism or nonsense pages. This isn't a problem on Wikidata because most of the editing is done to entities, so recent changes patrollers are used to going by labels and not page titles there. It's possible to only show the wish titles for watched pages. I was considering doing that, depending on how reception goes. Patrollers may only care about the actual title, while page watchers would more likely prefer the entity title.

We also need to keep in mind the extension may eventually be used on other more content-focused wikis, so the aforementioned problem may become more pronounced. If it comes down to it, we could introduce a preference or something.

MusikAnimal renamed this task from Show wish titles on lists (like on Wikidata) to Show wish titles on change lists (like on Wikidata).Nov 19 2025, 6:34 PM
MusikAnimal updated the task description. (Show Details)
MusikAnimal updated the task description. (Show Details)
MusikAnimal renamed this task from Show wish titles on change lists (like on Wikidata) to Show wish titles on lists (like on Wikidata).Nov 19 2025, 8:20 PM
MusikAnimal updated the task description. (Show Details)
MusikAnimal updated the task description. (Show Details)

Change #1207269 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] ChangesListHooks: show entity titles on category pages

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

Change #1207299 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] ChangesListHooks: show entity tiles at Special:Contributions

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

MusikAnimal changed the task status from Open to Stalled.Nov 20 2025, 1:11 AM

We should probably just go ahead and use HtmlPageLinkRendererEnd instead of these individual hooks. It would more comprehensively replace page titles with entity tiles, but could come at a performance cost. I believe the situation might be worse for CommunityRequests because we can't JOIN on Core tables (i.e. we can't modify the original query). We can however do a single query for all known entity links that we're about to display, as opposed O(n) queries. That should be done first. Also a more persistent cache is probably in order. I've filed T410590: Improve performance of fetching Wishlist entities.

Change #1208022 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@wmf/1.46.0-wmf.3] ChangesListHooks: show entity titles in recent changes and watchlists

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

Change #1208022 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@wmf/1.46.0-wmf.3] ChangesListHooks: show entity titles in recent changes and watchlists

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

Mentioned in SAL (#wikimedia-operations) [2025-11-20T23:53:14Z] <musikanimal@deploy2002> Started scap sync-world: Backport for [[gerrit:1208022|ChangesListHooks: show entity titles in recent changes and watchlists (T406957)]]

Mentioned in SAL (#wikimedia-operations) [2025-11-20T23:57:39Z] <musikanimal@deploy2002> musikanimal: Backport for [[gerrit:1208022|ChangesListHooks: show entity titles in recent changes and watchlists (T406957)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-11-21T00:04:12Z] <musikanimal@deploy2002> Finished scap sync-world: Backport for [[gerrit:1208022|ChangesListHooks: show entity titles in recent changes and watchlists (T406957)]] (duration: 10m 58s)

I hope the title will link to the main page ([[Community Wishlist/W...]]) when the list item is about a subpage, talk page, etc. I made my script do this and I've found it useful.

Couldn't that be adverse to patrollers? The linked page should be the page that was actually changed, I think. I was nervous even showing the wish titles in recent changes.

As a patroller scanning titles on recent changes, at quick glance you'll see the wish titles stand out as if they were actual titles. The descriptive and sometimes lengthy names may appear like vandalism or nonsense pages. This isn't a problem on Wikidata because most of the editing is done to entities, so recent changes patrollers are used to going by labels and not page titles there. It's possible to only show the wish titles for watched pages. I was considering doing that, depending on how reception goes. Patrollers may only care about the actual title, while page watchers would more likely prefer the entity title.

We also need to keep in mind the extension may eventually be used on other more content-focused wikis, so the aforementioned problem may become more pronounced. If it comes down to it, we could introduce a preference or something.

The primary use cases for me are /Votes and Talk: pages, as changes to the wishes themselves are usually less frequent and the diff will immediately reveal what it's about, whereas votes and talks typically reference the subject only obliquely.

To your point, it might be a good idea to make it an opt-in. That way Meta patrollers who are not interested in the wishlist won't be confused, but those who are can then both patrol and participate in wishes with more ease.

Change #1207269 abandoned by MusikAnimal:

[mediawiki/extensions/CommunityRequests@master] ChangesListHooks: show entity titles on category pages

Reason:

we should use HtmlPageLinkRendererEnd instead, and also improve caching first T406957#11390710

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

Change #1207299 abandoned by MusikAnimal:

[mediawiki/extensions/CommunityRequests@master] ChangesListHooks: show entity tiles at Special:Contributions

Reason:

we should use HtmlPageLinkRendererEnd instead, and also improve caching first T406957#11390710

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