Page MenuHomePhabricator

Page icons in Special:Search completion suggester don't differentiate between page types
Closed, ResolvedPublic


h_1507318239_9213027_915d8b13b4.jpeg (432×698 px, 53 KB)

When searching on Special:Search (not the navigation search field) the autocompletion list shows an icon next to each entry. These should show a different icon for disambiguation, existing, not found, etc. They appear to only be showing a single icon for all page status/types.

I think this was introduced with MediaWiki 1.31/wmf.2

Event Timeline

Change 382774 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] SearchInputWidget: Don't show images

Jdforrester-WMF added a subscriber: Jdforrester-WMF.

Not part of OOjs UI, this is a MediaWiki widget.

If images aren't working with the default configuration, we should change the default to be false.

So crazily the opensearch API only returns descriptions and images in XML format, but not JSON (see examples: ). And the images are always 50px thumbs, not configurable.

Change 382774 merged by jenkins-bot:
[mediawiki/core@master] SearchInputWidget: Don't show images

Thanks for the fast patch, @Jdforrester-WMF and investigation @Esanders :)

debt claimed this task.