r29203 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29202‎ | r29203 | r29204 >
Date:01:16, 3 January 2008
Author:brion
Status:old
Tags:
Comment:
Disable the suggestion type-ahead since it's broken.
Modified paths:
  • /trunk/extensions/LuceneSearch/LuceneSearch.php (modified) (history)
  • /trunk/extensions/LuceneSearch/LuceneSearch_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LuceneSearch/LuceneSearch_body.php
@@ -434,6 +434,9 @@
435435 if( strlen( $query ) < 1 ) {
436436 return;
437437 }
 438+
 439+ /// @fixme -- this is totally missing atm
 440+ return;
438441
439442 $results = $this->doTitlePrefixSearch( $query, $limit );
440443 if( $results && count( $results ) > 0 ) {
Index: trunk/extensions/LuceneSearch/LuceneSearch.php
@@ -39,7 +39,7 @@
4040 # - it's in the 'mwsearch' module in CVS.
4141 ##########
4242
43 -$wgLuceneDisableSuggestions = false;
 43+$wgLuceneDisableSuggestions = true;
4444 $wgLuceneDisableTitleMatches = false;
4545
4646 /** Number of seconds to cache query results */

Status & tagging log