Index: trunk/extensions/MWSearch/MWSearch_body.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | */ |
12 | 12 | function searchText( $term ) { |
13 | 13 | global $wgContLang; |
14 | | - $term = $wgContLang->stripForSearch( $term ); |
| 14 | + $term = $wgContLang->stripForSearch( $term, false ); |
15 | 15 | return LuceneSearchSet::newFromQuery( isset($this->related)? 'related' : 'search', |
16 | 16 | $term, $this->namespaces, $this->limit, $this->offset, $this->searchingEverything() ); |
17 | 17 | } |
Index: trunk/extensions/MWSearch/MWSearchUpdater.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | */ |
23 | 23 | function updatePage( $dbname, $title, $text ) { |
24 | 24 | global $wgContLang; |
25 | | - $text = $wgContLang->stripForSearch( $text ); |
| 25 | + $text = $wgContLang->stripForSearch( $text, false ); |
26 | 26 | return MWSearchUpdater::sendRPC( 'searchupdater.updatePage', |
27 | 27 | array( $dbname, $title, $text ) ); |
28 | 28 | } |