Last modified: 2014-02-11 02:44:36 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 T32125, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30125 - prefix: search does not know _ -> ' ' normalization, requires spaces and un-encoded titles
prefix: search does not know _ -> ' ' normalization, requires spaces and un-e...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nik Everett
https://en.wikipedia.org/w/index.php?...
:
: 24775 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-30 11:45 UTC by Derk-Jan Hartman
Modified: 2014-02-11 02:44 UTC (History)
11 users (show)

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


Attachments

Description Derk-Jan Hartman 2011-07-30 11:45:34 UTC
If you use prefix search: "prefix:A_B" seems not to know to interpret as "prefix:A B"

Since prefix should always be title/namespace specific, it should know how to follow the mediawiki title specifics I guess..
Comment 1 Dan Collins 2011-07-31 01:04:21 UTC
I assume you're referring to Special:PrefixIndex? It's working fine for me on latest SVN, I created a page called A_b and typing A_b works as does A b.
Comment 2 Mark A. Hershberger 2011-08-01 13:58:58 UTC
Assuming Dan is correct, this is fixed.
Comment 4 Dan Collins 2011-08-01 15:22:16 UTC
I can find no documentation that even indicates that should work. Not that the documentation is good or anything like that, but just saying. Special:Prefixindex works just fine, and your test case illustrates exactly what that special page is for.
Comment 5 Helder 2011-08-01 15:25:59 UTC
(In reply to comment #4)
> Special:Prefixindex works just fine, and your test case illustrates exactly
> what that special page is for.

Well, on Special:PrefixIndex you can't "search" in the page content ;-)
https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%3ASearch&redirs=1&search=%22I+think+this+is+one%22+prefix%3AWikipedia+talk%3ANeutral+point+of+view%2FArchive&fulltext=Search&ns0=1
Comment 6 Dan Collins 2011-08-01 16:26:00 UTC
I wonder if there's a "search sucks, we know" tracking bug.
Comment 7 TeleComNasSprVen 2011-08-03 18:36:44 UTC
*** Bug 24775 has been marked as a duplicate of this bug. ***
Comment 8 Nemo 2013-12-09 21:58:39 UTC
This is fixed by Cirrus, I suppose it should be WONTFIX'ed?
Comment 10 Dan Garry 2014-02-11 01:46:04 UTC
Using the links in comment 9 above, I've verified this behaviour still exists in Cirrus. Whether you use underscores or spaces, the prefix search query doesn't work at all, and it will only work if you remove everything after the "prefix:Wikipedia:Help".

Reassigning to Cirrus's category.
Comment 11 Nik Everett 2014-02-11 02:40:07 UTC
Cirrus does the right thing with namespaces but not with titles actually.
Comment 12 Gerrit Notification Bot 2014-02-11 02:40:16 UTC
Change 112633 had a related patch set uploaded by Manybubbles:
Handle _s as spaces in prefix:

https://gerrit.wikimedia.org/r/112633
Comment 13 Nik Everett 2014-02-11 02:41:22 UTC
and it only took two and a half years!
Comment 14 Gerrit Notification Bot 2014-02-11 02:41:38 UTC
Change 112633 merged by jenkins-bot:
Handle _s as spaces in prefix:

https://gerrit.wikimedia.org/r/112633
Comment 15 Nik Everett 2014-02-11 02:44:36 UTC
Merged.  Should go to production on the next deployment train.  It'll hit wikipedias 2014-02-20.

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


Navigation
Links