Background
Currently, on https://en.wikipedia.org/wiki/Main_Page as both a logged in and logged out user, clicking on the search bar shows 3 suggested articles. This is confusing because users have no context or understanding of why these are suggested.
User story
As a logged in or logged out user, clicking on the search bar on Main Page should not list search suggestions
Requirements
- Focusing on search bar in Main Page should not trigger any dropdowns
- The fix should apply to all skins and live in resources/src/mediawiki.skinning.typeaheadSearch/restSearchClient.js (MediaWiki core)
- Works on mobile and desktop site
Acceptance criteria
- On Main Page, clicking on search bar does not show any suggested articles
- On an article page, clicking on search bar still shows 3 suggested articles
BDD
Feature: Suppress search suggestions on Main Page
Scenario: Clicking the search bar on Main Page
Given I am on the Main Page
When I click or focus on the search bar
Then no search suggestions dropdown appears
Scenario: Clicking the search bar on other pages
Given I am on an article or non-Main Page
When I click or focus on the search bar
Then 3 search suggestions appear as usualTest Steps
Test Case 1: Verify no search suggestions on Main Page
- Navigate to the Main Page as a logged-in user.
- Click or focus on the search bar.
- AC1: No search suggestions appear.
- Log out and repeat the test.
- AC2: Still no search suggestions appear for logged-out users.
Test Case 2: Verify normal suggestions on article pages
- Navigate to any article page.
- Click or focus on the search bar.
- AC3: The dropdown with 3 suggested articles appears normally.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T405515#11365014 |
| 2 | ✅ | T405515#11365014 |
| 3 | ✅ | T405515#11365014 |
Communication criteria
After rollout, we can communicate to village pump to thank them for raising the issue
Rollback plan
Describe the rollback plan in production for this task if something goes wrong.




