Steps to replicate the issue (include links if applicable):
- Visit https://m.wikidata.beta.wmflabs.org/
- Search for "Universe"
What happens?:
No search results - TypeaheadSearch is using the default API endpoint which is not Wikidata compatible.
What should have happened instead?:
Search results should show.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- Possible solutions **
Option 1: Use the hook we provided
You will need to use SkinPageReadyConfig to define a new module for Wikibase.
That module depending on time allowance can do one of several things
- force show search and use the legacy typeahead from Vector.
$('.minerva-header .search-box').show()- As part of your updates to the new typeahead search component for Vector (T321543: [EPIC] Making other entity types more accessible through the search box), revise your new component override that applies to Vector to also apply to Minerva, copying across the relevant bits from the core TypeaheadSearch relating to Dialog.
Option 2: Force show search input
You can force display the search as a temporary solution at the cost of a small search area. This will allow it to use the new typeahead search, legacy Vector search or some other experience without worrying about implementing the dialog version of the component.
.minerva-header .search-box { display: flex !important;
flex-shrink: 1;}
#searchIcon { display: none !important; }}')Option 3: Switch to Vector 2022 responsive skin
There may be benefits to doing { T343052}. When I raised this ticket this is one of the scenarios I imagined happening.