Last modified: 2010-05-15 15:34:04 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 2091 - Searching for "the the" on en.wikipedia does not work
Searching for "the the" on en.wikipedia does not work
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-06 18:20 UTC by Richard J. Holton
Modified: 2010-05-15 15:34 UTC (History)
0 users

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


Attachments

Description Richard J. Holton 2005-05-06 18:20:40 UTC
When I attempt to search for "the the" (including the quotes) on en.wikipedia, I
always get the "search is disabled for performance" message. I can sucessfully
search for various similar phrases without problem: "the car", "the theory", "in
in" etc. Searching for "the the" on Meta works fine.

Using Firefox 1.0 under WinXP. I've tried ctrl-F5, and emptied my browser cache.
Comment 1 Michael Keppler 2005-05-07 23:35:56 UTC
The testcase can be simplified to searching for "" (including the quotes),
probably because the English wikipedia uses 'the' as stopword.

As I can't reproduce the exact behaviour on my test machine, I can only guess
that the problem is in line 126 of SpecialPage.php, which is
...
if( '' === trim( $term ) ) {
...

But in case of quoted search strings this condition is not fulfilled (although
it should be, cause this condition is responsible for the "bad query" output).
Maybe someone can confirm this assumption?

BTW: An interesting thing is that there is an article "the the", which is found
if you use the "Go" button of the search field in the quickbar with the term
"the the" (including quotes), but not using "Search" (where you get the results
described in this bug). Maybe someone could have a look at that phenomenon too...
Comment 2 Richard J. Holton 2005-05-08 01:40:42 UTC
I should note that this did work for a while under the new Lucene search engine.
I can't say exactly when it stopped working, but I think it was sometime in the
past week.
Comment 3 Zigger 2005-05-22 13:20:37 UTC
This example is currently working again.

See also bug 2222 where the search term AND also gets a "search disabled"
result, depending on companion terms.

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


Navigation
Links