Last modified: 2008-03-18 23:20:48 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 T3810, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1810 - Search options incorrectly convert spaces to underscores
Search options incorrectly convert spaces to underscores
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
unspecified
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-03 20:54 UTC by M. Creidieki Crouch
Modified: 2008-03-18 23:20 UTC (History)
0 users

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


Attachments

Description M. Creidieki Crouch 2005-04-03 20:54:33 UTC
If I attempt to go to a nonexistant wiki page, and then click the "Search for
this term in other pages" button, spaces in the page's name will be converted to
underscores, making the search unsuccessful.

For example, "classical relativity" is a phrase sometimes used in physics to
describe Galilean relativity.  There is one article containing the phrase
"classical relativity"
(http://www.google.com/search?hl=en&q=site%3Aen.wikipedia.org+%22classical+relativity).

If I click on a red link for "classical relativity", I will go to
"http://en.wikipedia.org/w/index.php?title=Classical_relativity&action=edit",
which has a link labelled "Search for Classical relativity in Wikipedia".  This
link takes me to
"http://en.wikipedia.org/wiki/Special:Search/Classical_relativity", which
searches for the term "Classical_relativity".  Note that the space has been
incorrectly converted into an underscore.  The Google search boxes on this page
offer to search Google for "classical_relativity", which is not what the user
wanted.

This problem also occurs if I go directly to
"http://en.wikipedia.org/wiki/classical relativity" -- the "Search" option
converts all spaces to underscores.  

This bug has made it difficult for me to convert the Dictionary_Search Firefox
plug-in to use Wikipedia -- if there is no article for a multi-word term, the
user has to remove the underscores manually.
Comment 1 Brion Vibber 2008-03-18 23:20:48 UTC
The current UI templates on en.wikipedia.org don't appear to suffer from this problem, or link properly through internal channels which handle it correctly.

It should be equally possible currently to add the external links with correct formatting, should they be used. Resolving this as WORKSFORME since current links appear to be fine.

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


Navigation
Links