Last modified: 2008-03-18 23:20:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1810 - Search options incorrectly convert spaces to underscores
Search options incorrectly convert spaces to underscores
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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"

If I click on a red link for "classical relativity", I will go to
which has a link labelled "Search for Classical relativity in Wikipedia".  This
link takes me to
"", 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

This problem also occurs if I go directly to
" 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 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.