Last modified: 2013-03-20 17:31:09 UTC
When typing something into the search box, mediawiki supplies suggestions (from the opensearch API module, I think). This seems to only take into account page titles, which is quite useless for wikidata.org/Wikibase. Wikibase should make this work on item labels instead (ideally, preferring matches in the user's current UI language).
See bug 43066 for an alternate solution
In short, does this mean making the gadget https://www.wikidata.org/wiki/MediaWiki:Gadget-Search.js (or equivalent) the default search?
(In reply to comment #2) > In short, does this mean making the gadget > https://www.wikidata.org/wiki/MediaWiki:Gadget-Search.js (or equivalent) the > default search? Maybe that's actually bug 43066; autosuggests probably requires something more than just using that gadget (and its underlying infrastructure)?
The solution in https://www.wikidata.org/wiki/MediaWiki:Gadget-Search.js is only a lookup for an exact match, it is not a real search. Due to a misunderstanding of the differences between site ids and language codes it will fail for several requests, For example the site id for Norwegian Bokmål Wikipedia is nowiki and the language code for Norwegian Bokmål is nb. Trying to build the site id from the language code the way this gadget works will give you the id "nbwiki" which is undefined. A working search should give results across all languages and should not use either language codes or site ids unless this is specified as part of the search.
Thank you. Still, at least Italian users don't use anything else, considering the normal search completely useless, and that one far superior. If the new search you're building is even better and will kill the useless current one, it's fantastic!
Closing as fixed because the alternative solution is done.
Verified in Wikidata demo sprint 35-2