Page MenuHomePhabricator

User talk pages without PageImages should use `cdxIconUserTalk` icon
Open, Needs TriagePublicFeature

Assigned To
Authored By
Bugreporter2
Sep 11 2026, 6:57 AM
Referenced Files
F102654506: image.png
Sep 12 2026, 7:38 AM
F102654182: image.png
Sep 12 2026, 7:38 AM
F102563110: image.png
Sep 11 2026, 3:20 PM
F102535742: image.png
Sep 11 2026, 6:57 AM
F102535721: image.png
Sep 11 2026, 6:57 AM

Description

Steps to replicate the issue

  • Go to a Wikipedia.
  • Start typing the name of a user talk page in the search box.

What happens?:

image.png (677×872 px, 52 KB)

  • If the user talk page has no Page Image, the search interface shows the generic “missing image” placeholder.
  • The placeholder used is the Codex icon: cdxIconImageLayoutFrameless

Refer to: https://doc.wikimedia.org/codex/latest/icons/all-icons.html

This placeholder is intended as a temporary stand‑in for pages that could have an image but do not yet have one. However, user talk pages are not content pages and are not expected to have images at all. They are communication pages, and showing a “missing image” icon incorrectly implies that the page is incomplete or that an image should exist. This is misleading and visually noisy.

What should have happened instead?:

Codex provides a dedicated icon for user talk pages: cdxIconUserTalk. This icon correctly represents the nature of the page and does not imply that an image is missing. If PageImages returns no image for a user talk page, the search interface should use cdxIconUserTalk instead of cdxIconImageLayoutFrameless. This provides a semantically accurate fallback and avoids suggesting that user talk pages should have images.

It also improves Accessibility by providing a recognisable visual cue for user‑talk‑related pages.

image.png (891×217 px, 13 KB)

Event Timeline

Vesperio_ofc subscribed.

Hii,
I'd like to work on this task.

Change #1339667 had a related patch set uploaded (by CoderAnimeshPathak; author: CoderAnimeshPathak):

[mediawiki/core@master] TypeaheadSearch: Use cdxIconUserTalk for user talk pages

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

Jdlrobson-WMF subscribed.

While I like the idea I think if we were to do this, this needs to be consistent across our platforms (e.g. apps) and pages (the VisualEditor allows searching for pages for example) :

image.png (544×583 px, 26 KB)

For this reason, I feel a more holistic solution might be necessary and I am not 100% sure we should just solve this for TypeaheadSearch.

Also why just user talk? Why not talk pages in general?

If we wanted to update everything it might be preferable to consider a change to PageImages and associated APIs to set the thumbnail instead of updating a single Codex component.

In general this needs some input from more people, particularly those working on talk page experience.

Also why just user talk? Why not talk pages in general?

+1. A talk page is a talk page, regardless of whether it’s a talk page of an article, a user, or a template.

If we wanted to update everything it might be preferable to consider a change to PageImages and associated APIs to set the thumbnail instead of updating a single Codex component.

A naïve solution along these lines could mean the same icon being downloaded ten times when one types User talk:; a Codex icon directly embedding the icons could have better performance. However, I do agree that this should be updated across all similar components (probably along with the non-talk placeholder – the current, default placeholders also differ between the search and the VE screenshots). Maybe there could be a Codex/OOUI component that provides the page image, so that the same code can be reused across search, VE, WikiEditor etc.?

I hadn't thought that anyone (@CoderAnimeshPathak or anyone else) would jump on this and try to address it quite so quickly. I was expecting it to be ignored for months like most of my other requests. And, I think it's more important to sort out the related T437569: Use Codex special page icon as thumbnail in search suggestions and T437676: Search results use inappropriate “missing image” codex instead of article codex first.

Also why just user talk? Why not talk pages in general?

Thanks for the comment.

I do think there should be an icon for talk pages, but at the moment, there is no cdxIcontalk icon (perhaps there should be). Refer to https://doc.wikimedia.org/codex/latest/icons/all-icons.html

But the icon does exist for user talk pages:

image.png (940×245 px, 13 KB)

I think a talk page icon would be easy to mock something up like this maybe:

image.png (592×397 px, 9 KB)

Why not just use userTalk for all talk namespaces? I don’t think the icon is specific to user talk pages.

Or we could use the icon that the Vector 2022 sticky header already uses for the talk page link, speechBubbles:

Screenshot 2026-09-12 at 12-25-34 List of all icons Codex.png (688×144 px, 17 KB)