Last modified: 2014-05-30 19:59:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54935, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52935 - Retry searches when namespace-specific search returns nothing
Retry searches when namespace-specific search returns nothing
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-16 17:55 UTC by Chris McMahon
Modified: 2014-05-30 19:59 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McMahon 2013-08-16 17:55:24 UTC
(10:45:46 AM) chrismcmahon: ^d http://test2.wikipedia.org/wiki/Catapult has no talk page.  if I search "talk:catapult" result is empty. 
(10:46:27 AM) chrismcmahon: ^d: and I wonder if the result should truly be empty or somehow indicate that "Catapult" exists
(10:46:46 AM) ^d: Ah, it's actually looking for "Talk:Catapult" in NS_MAIN, which is wrong. If you click over to advanced you see we're still searching mainspace.
(10:46:54 AM) ^d: File a bug, this is a bit wonky.
Comment 1 Nik Everett 2013-08-19 15:50:32 UTC
The search part seems to be working correctly.  When we have a namespace prefix we seem to be successfully limiting the search to that namespace.  At least, that is what my debugging shows.

It would be nice if we could update the "profile" on the search page based on the namespace prefix but this isn't how it works now (see http://en.wikipedia.org/w/index.php?search=talk%3Acatapult&title=Special%3ASearch&fulltext=1).

As far as searching without the namespace restriction if you don't find any results with the restriction, I'm open to this but I don't think that it is a now thing.  I've made similar comments in Bug 52904 but left that one high priority due to relevance issues.  I think the namespace filter is more deliberate than extra search terms.  It is special syntax you have to know and use.

Triaging to low because both potential fixes seem low priority, at least to me.
Comment 2 Chad H. 2014-05-30 19:59:22 UTC
(In reply to Nik Everett from comment #1)
> The search part seems to be working correctly.  When we have a namespace
> prefix we seem to be successfully limiting the search to that namespace.  At
> least, that is what my debugging shows.
> 

You're right.

> It would be nice if we could update the "profile" on the search page based
> on the namespace prefix but this isn't how it works now (see
> http://en.wikipedia.org/w/index.
> php?search=talk%3Acatapult&title=Special%3ASearch&fulltext=1).
> 

Actually I'm not so sure. I think the current behavior's pretty predictable as it is. I'd get kind of confused as a user if the profile just changed on me.

> As far as searching without the namespace restriction if you don't find any
> results with the restriction, I'm open to this but I don't think that it is
> a now thing.  I've made similar comments in Bug 52904 but left that one high
> priority due to relevance issues.  I think the namespace filter is more
> deliberate than extra search terms.  It is special syntax you have to know
> and use.
> 
> Triaging to low because both potential fixes seem low priority, at least to
> me.

This part is still possibly worth doing.

Retitling bug, marking as enhancement, lowering priority further.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links