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, false ); |
| 14 | + $term = $wgContLang->normalizeForSearch( $term ); |
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, false ); |
| 25 | + $text = $wgContLang->normalizeForSearch( $text ); |
26 | 26 | return MWSearchUpdater::sendRPC( 'searchupdater.updatePage', |
27 | 27 | array( $dbname, $title, $text ) ); |
28 | 28 | } |
Index: trunk/extensions/AdvancedSearch/AdvancedSearchPager.php |
— | — | @@ -402,7 +402,7 @@ |
403 | 403 | else |
404 | 404 | { |
405 | 405 | global $wgContLang; |
406 | | - $s = $wgContLang->stripForSearch($b); |
| 406 | + $s = $wgContLang->normalizeForSearch($b); |
407 | 407 | $s = $searchEngine->normalizeText($s); |
408 | 408 | $s = $this->mDb->strencode($s); |
409 | 409 | # If $s contains spaces or ( ) :, quote it |
Index: trunk/extensions/AdvancedSearch/AdvancedSearchCategoryIntersector.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | static function update($pageid, $categories) |
40 | 40 | { |
41 | 41 | global $wgContLang; |
42 | | - $ctext = $wgContLang->stripForSearch(implode(' ', $categories)); |
| 42 | + $ctext = $wgContLang->normalizeForSearch(implode(' ', $categories)); |
43 | 43 | $ctext = self::getSearchEngine()->normalizeText($ctext); |
44 | 44 | $dbw = wfGetDb(DB_MASTER); |
45 | 45 | $dbw->replace('categorysearch', 'cs_page', |