The search suggestions box does not give suggestions for pages outside the main namespace.
|Open||None||T46529 Wikidata search problems (tracking)|
|Resolved||None||T59658 Improve Special:ItemDisambiguation (tracking)|
|Duplicate||None||T48251 [Task] Make search suggestions work for pages outside the main namespace on Wikidata|
- Mentioned In
- T55652: Special:Search doesn't use labels and descriptions for suggestions but just the item ID
T115948: Wikidata gadget for searching outside the main namespace
- Mentioned Here
- T190454: Display entity & article namespace completion search together
T43845: Make a multilingual wiki aware of localised names of its namespaces
not a great description but I can confirm this doesn't behave how I expect.
go to mediawikiwiki and start typing in search: "project:i" vs.
go to wikidatawiki and start typing in search: "wikidata:intro"
I'm not sure offhand how one checks whether a given wiki is cirrus or not these days. (and too sleepy to try to figure it out!)
My guess is this is unrelated to the fact that it's a repo or has the wikidata extensions.
> Nik/Chad for investigation
Possible solution for the issue: the wbsearchentities API module would need to be extended with a parameter that says "give me non-entity pages too" and then return them, making them look like entities in the API.
I have a preference for the first solution.
Mixing together mainspace items and pages from other namespaces could result in some confusion. For example, if a user is searching for "Template:Support", there would be two items with that label, along with the local template itself titled "Template:Support". If these are to be mixed, there needs to be some way to clearly indicate whether a page is a Wikidata item or not.
(Side note: Even if this task is fixed, the issue of it being quite difficult to search for non-mainspace pages will still be a problem for non-English speakers until some kind of fix for T43845 is developed...)
A possible solution can be add a 'hamburger menu' (or other of similar) next to the search box. When open this new menu you can find two option (radio button: only one can be selected):
- Search only among Wikidata items
- Search into non-main namespaces
The first choice is the default selected.
Okay, Since it became really annoying to me, I wrote a gadget (in a very hacky way) that you can enable now, it's called SearchAll and after enabling it, when you search, it shows suggestions from other namespaces too:
@Lydia_Pintscher, for your information, two users reported this issue at https://www.mediawiki.org/wiki/Talk:Wikibase, filed under "Search no longer works properly". They understand what's going on, and wish our top-right search box would allow to find both: pages in non-entity namespaces by title, and entities by label and aliases.
Personally I think we are postponing this way to long. We know about this for a very long time (it's actually one of my personal pet-bugs I wanted to fix for four years now), and already invested some time into this (I remember @Bene working on this), but never achieved anything that's visible to our users. Is it sensible to wait for WMF Discovery-Search to solve this for us? If so, how, and when?
This is a larger chunk of work that requires UI engineering support, which we don't have on the search platform team. So, if maybe someone from WMDE wants to help us, we could take a look at it.