Last modified: 2008-12-28 21:21: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.
Fixed in r32811: replace underscores in search terms by spaces.
(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.
(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).
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.
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.