Last modified: 2006-02-26 21:49:27 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 2048 - Special:Search produces bogus URLs containing spaces
Special:Search produces bogus URLs containing spaces
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
unspecified
All All
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/ant lion
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-02 13:17 UTC by Leah
Modified: 2006-02-26 21:49 UTC (History)
0 users

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


Attachments

Description Leah 2005-05-02 13:17:14 UTC
For example, when searching for "ant lion", Special:Search produces the following HTML:

<p class='subtitle'>You searched for "<a href="/wiki/ant lion">ant lion</a>" <a href="/wiki/Special:Allpages/ant lion">[Index]</a></p>

The server does not recognize URLs containing spaces; in browsers that do not replace spaces with %20, these links will fail.
Comment 1 Anders Wegge Jakobsen 2005-05-22 09:39:49 UTC
(In reply to comment #0)
> For example, when searching for "ant lion", Special:Search produces the
following HTML:
> 
> <p class='subtitle'>You searched for "<a href="/wiki/ant lion">ant lion</a>"
<a href="/wiki/Special:Allpages/ant lion">[Index]</a></p>
> 
> The server does not recognize URLs containing spaces; in browsers that do not
replace spaces with %20, these links will fail.

This is not a MediaWiki bug, but rather a configuration error. The text on the
results page are inserted from [[MediaWiki:Searchquery]], where $1 is replaced
with the search term. If a valid link to a page named after the search term is
desired, it should be put in [[MediaWiki:Nogomatch]], where $1 is replaced with
a suitable URL for the term, and $2 is replaced with the search term in an
HTML-escaped form.

Please note that this description is valid for MediaWiki 1.4 only. In the
current development version, $1 in MediaWiki:Nogomatch is replaced with :<search
term>, and the whole text is then parsed as wiki marup.

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


Navigation
Links