[Task] Make search suggestions work for pages outside the main namespace on Wikidata
Closed, DuplicatePublic

Description

The search suggestions box does not give suggestions for pages outside the main namespace.

Details

Reference
bz46251
bzimport raised the priority of this task from to High.
bzimport set Reference to bz46251.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 46638 has been marked as a duplicate of this bug. ***

raising to major as this is getting pretty annoying

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

good night!

No this is specific to the special suggester written for Wikidata. It simply only takes items into account at the moment.

[ops-triage: No ops territory, hence removing keyword]

Denny added a comment.Sep 23 2013, 9:41 AM

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.

The other solution would be to make two calls, one to wbsearchentities and one to the MediaWiki pages search and then combine the results in the JavaScript.

I have a preference for the first solution.

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
MGChecker added a subscriber: MGChecker.

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...)

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 20 2015, 1:35 PM
thiemowmde renamed this task from Search suggestions doesn't work for pages outside the main namespace to [Task] Search suggestions doesn't work for pages outside the main namespace.Aug 13 2015, 3:24 PM
thiemowmde updated the task description. (Show Details)
thiemowmde set Security to None.
thiemowmde added a project: Need-volunteer.
thiemowmde edited subscribers, added: thiemowmde; removed: Wikidata-bugs, Denny, Manybubbles.
Lydia_Pintscher renamed this task from [Task] Search suggestions doesn't work for pages outside the main namespace to [Task] Make search suggestions work for pages outside the main namespace.Aug 13 2015, 7:05 PM
demon removed a subscriber: demon.Aug 19 2015, 3:35 PM
Beta16 added a subscriber: Beta16.EditedApr 20 2016, 8:24 AM

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.

Stryn awarded a token.Aug 11 2016, 3:45 PM
Restricted Application added a subscriber: JEumerus. · View Herald TranscriptDec 8 2016, 10:10 PM

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:


Please test.

Restricted Application added a subscriber: PokestarFan. · View Herald TranscriptJul 31 2017, 8:24 AM
thiemowmde added a subscriber: Bene.

@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?

EBjune lowered the priority of this task from High to Low.Feb 6 2018, 6:24 PM
EBjune added a subscriber: EBjune.

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.

Smalyshev renamed this task from [Task] Make search suggestions work for pages outside the main namespace to [Task] Make search suggestions work for pages outside the main namespace on WIkidata.Feb 6 2018, 6:24 PM
matej_suchanek renamed this task from [Task] Make search suggestions work for pages outside the main namespace on WIkidata to [Task] Make search suggestions work for pages outside the main namespace on Wikidata.Feb 6 2018, 8:18 PM
thiemowmde raised the priority of this task from Low to High.Feb 7 2018, 9:18 AM

Please don't lower Wikidata tasks without explanation.

EBjune added a comment.Feb 7 2018, 4:30 PM

@thiemowmde sorry about that, it showed up in the triage column of our workboard, and for Search Platform, this is low priority, and we won't be engaging in this unless we get some UI engineering help.

EBjune moved this task from Needs triage to Later on the Discovery-Search board.Mar 1 2018, 6:27 PM

I think this is the same as T190454. I am merging this in as T190454 has better description.

Restricted Application removed a subscriber: Liuxinyu970226. · View Herald TranscriptApr 3 2018, 6:38 PM