Last modified: 2010-05-15 15:33:28 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 T4193, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2193 - "Badly formed search query" error for every search
"Badly formed search query" error for every search
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.4.x
PC Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.folktunes.org/wiki/Special...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-17 14:01 UTC by Forrest O.
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Attachments

Description Forrest O. 2005-05-17 14:01:58 UTC
The query gets lost; pressing [Go] or [Search] give the same error page:

Search results
From Folktunes
For query ""

For more information about searching Folktunes, see Searching Folktunes.
Badly formed search query
...
Comment 1 Brion Vibber 2005-05-17 21:49:06 UTC
The expanded URL works:
http://www.folktunes.org/music/index.php?title=Special:Search&search=polly&fulltext=Search

It looks like your rewrite rules are incorrect; they are obliterating the query string which is used 
to pass the search term. Use the QSA (query string append) option in the rewrite rule to prevent 
this.
Comment 2 Forrest O. 2005-05-17 22:52:44 UTC
Thank you so much.  I thought this might have been my fault.
For me the correct line is:
RewriteRule ^wiki/?(.*)$ /music/index.php?title=$1 [QSA]

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


Navigation
Links