Last modified: 2008-12-28 21:21:34 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 T15616, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13616 - Bad searches, irritating
Bad searches, irritating
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-05 12:01 UTC by stuartlocke
Modified: 2008-12-28 21:21 UTC (History)
3 users (show)

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


Attachments

Description stuartlocke 2008-04-05 12:01:34 UTC
When a red link is made, eg. Arbitrary page name, with spaces in it, and it is clicked, the page editing screen comes up. When the search button is clicked, it will search "Arbitrary_page_name" (with underscores) instead of just "Arbitrary page name", which is disruptive to the search results. Give it a try for yourself. -Oreo Priest talk 09:40, 5 April 2008 (UTC)

    No it searches for Arbitrary page name, with no uderscores, underscores are just there in the URL, as spaces cna't be. What would be great is a search that searches for each word induvidually, rather than the phrase as a whole.--Phoenix-wiki 10:11, 5 April 2008 (UTC)

        Yes, actually, it really does search with the underscores. When you remove them from the search box and search again, the mediawiki search results alone are much more useful. When you change the search engine to Google for example, you get NO results until you manually remove the underscores. Seriously, try it yourself. -Oreo Priest talk 10:37, 5 April 2008 (UTC)

This is cut-paste from WP, as I don't really know how better to report a bug.
Comment 1 Bryan Tong Minh 2008-04-05 14:58:36 UTC
Fixed in r32811: replace underscores in search terms by spaces.
Comment 2 stuartlocke 2008-04-05 15:45:18 UTC
(In reply to comment #1)
> Fixed in r32811: replace underscores in search terms by spaces.
> 

I'm not sure if you say you've done this or if it's an instruction to do so, but the same problem still happens to me. I've cleared the cache, and the same thing as before still happens.
Comment 3 Roan Kattouw 2008-04-05 15:50:44 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Fixed in r32811: replace underscores in search terms by spaces.
> > 
> 
> I'm not sure if you say you've done this or if it's an instruction to do so,
> but the same problem still happens to me. I've cleared the cache, and the same
> thing as before still happens.
> 

It means he's done it, but it has yet to go live on Wikimedia sites (that'll probably happen in a few days).
Comment 4 Brion Vibber 2008-04-08 17:22:45 UTC
Reverted in r32970 -- this causes a regression in search capabilities, as you could no longer search for terms containing underscores.

Bug is presumably due to bad link formatting in a custom 'no article' message.
Comment 5 Brion Vibber 2008-12-28 21:21:34 UTC
en.wikipedia.org seems to be fine currently.

http://en.wikipedia.org/wiki/Arbitrary_page_name

includes a search link via Special:Search:

http://en.wikipedia.org/wiki/Special:Search/Arbitrary_page_name

which works just fine, as the underscores in the link parameter are converted to spaces.

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


Navigation
Links