Page MenuHomePhabricator

Wikidata should not show thumbnails in search suggestions on mobile
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Visit any page on wikidata.org
  • Do a search

What happens?:
Search results show with thumbnail placeholder

image.png (1×788 px, 125 KB)

What should have happened instead?:
Search results should show no placeholder.

Minerva's configuration should support the showThumbnail and showDescription options similar to Vector 2022.

Requirement

Scope: Mobile web (Minerva skin). Search suggestions on Wikidata must not display thumbnails or thumbnail placeholders:

  • When performing a search, no thumbnail or empty thumbnail placeholder should appear in the suggestion list.
  • Minerva configuration must respect showThumbnail and showDescription options, aligned with Vector 2022.

BDD

Feature: Suppress thumbnails in Wikidata search suggestions on mobile

  Scenario: Search suggestions show no thumbnails
    Given I am on a Wikidata page in mobile view (Minerva skin)
    When I type in the search bar and suggestions are shown
    Then no thumbnail or thumbnail placeholder is rendered in the search suggestions

Test Steps

Test Case 1: No thumbnails in mobile search suggestions

  1. Open wikidata.org in mobile view (Minerva skin).
  2. Type a query into the search input field to trigger search suggestions.
  3. AC1: No <img> elements or thumbnail placeholders are present in the suggestion list (DOM inspection).
  4. AC2: The suggestion list only includes text and description (if enabled), with no visual thumbnail slot.

QA Results - Beta

ACStatusDetails
1T402051#11127074
2T402051#11127074

QA Results - Prod

ACStatusDetails
1T402051#11127077
2T402051#11127077

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

bwang triaged this task as Medium priority.Aug 26 2025, 4:38 PM
bwang moved this task from Incoming to Needs refinement on the Reader Experience Team board.
bwang set the point value for this task to 2.

Change #1182197 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[mediawiki/skins/MinervaNeue@master] Add support for typeahead search options in config

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

Change #1182197 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Add support for typeahead search options in config

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

Change #1182216 had a related patch set uploaded (by Jdlrobson; author: Bernard Wang):

[mediawiki/skins/MinervaNeue@wmf/1.45.0-wmf.16] Add support for typeahead search options in config

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

Change #1182216 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@wmf/1.45.0-wmf.16] Add support for typeahead search options in config

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

Mentioned in SAL (#wikimedia-operations) [2025-08-26T21:51:19Z] <jdlrobson@deploy1003> Started scap sync-world: Backport for [[gerrit:1182216|Add support for typeahead search options in config (T402051)]], [[gerrit:1182221|Explicitly define enwiki wgVectorTypeahead config (T397084)]]

Mentioned in SAL (#wikimedia-operations) [2025-08-26T21:57:37Z] <jdlrobson@deploy1003> jdlrobson: Backport for [[gerrit:1182216|Add support for typeahead search options in config (T402051)]], [[gerrit:1182221|Explicitly define enwiki wgVectorTypeahead config (T397084)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-08-26T22:07:54Z] <jdlrobson@deploy1003> Finished scap sync-world: Backport for [[gerrit:1182216|Add support for typeahead search options in config (T402051)]], [[gerrit:1182221|Explicitly define enwiki wgVectorTypeahead config (T397084)]] (duration: 16m 35s)

Jdlrobson-WMF renamed this task from Wikidata shows thumbnails in search suggestions on mobile to Wikidata should not show thumbnails in search suggestions on mobile.Aug 26 2025, 10:21 PM

(This appears to be working as expected on wikidata.org)

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Sequoia 15.5
Browser: Chrome Canary (latest as of test date)
Device: MS
Emulated Device: iPhone 14 Pro (Minerva)

Test Case 1: No thumbnails in mobile search suggestions

  1. Open wikidata.org in mobile view (Minerva skin).
  2. Type a query into the search input field to trigger search suggestions.
  3. AC1: No <img> elements or thumbnail placeholders are present in the suggestion list (DOM inspection).
  4. AC2: The suggestion list only includes text and description (if enabled), with no visual thumbnail slot.

screenshot 78.png (1×1 px, 370 KB)

Edtadros removed Edtadros as the assignee of this task.EditedAug 28 2025, 1:18 AM
Edtadros subscribed.

Test Result - Prod

Status: ✅ PASS
Environment: wikidata
OS: macOS Sequoia 15.5
Browser: Chrome Canary (latest as of test date)
Device: MS
Emulated Device: iPhone 14 Pro (Minerva)

Test Case 1: No thumbnails in mobile search suggestions

  1. Open wikidata.org in mobile view (Minerva skin).
  2. Type a query into the search input field to trigger search suggestions.
  3. AC1: No <img> elements or thumbnail placeholders are present in the suggestion list (DOM inspection).
  4. AC2: The suggestion list only includes text and description (if enabled), with no visual thumbnail slot.

screenshot 79.png (1×1 px, 395 KB)