Last modified: 2010-05-15 15:33:28 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 2193 - "Badly formed search query" error for every search
"Badly formed search query" error for every search
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
PC Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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:

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 
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.