[Task] Make search suggestions work for pages outside the main namespace
Open, HighPublic

Description

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

Details

Reference
bz46251
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 changed the title 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 edited 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 changed the title 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