Index: trunk/extensions/MWSearch/MWSearchUpdater.php |
— | — | @@ -20,8 +20,6 @@ |
21 | 21 | * @static |
22 | 22 | */ |
23 | 23 | function updatePage( $dbname, $title, $text ) { |
24 | | - global $wgContLang; |
25 | | - $text = $wgContLang->normalizeForSearch( $text ); |
26 | 24 | return MWSearchUpdater::sendRPC( 'searchupdater.updatePage', |
27 | 25 | array( $dbname, $title, $text ) ); |
28 | 26 | } |
Index: trunk/extensions/MWSearch/MWSearch_body.php |
— | — | @@ -9,8 +9,6 @@ |
10 | 10 | * @access public |
11 | 11 | */ |
12 | 12 | function searchText( $term ) { |
13 | | - global $wgContLang; |
14 | | - $term = $wgContLang->normalizeForSearch( $term ); |
15 | 13 | return LuceneSearchSet::newFromQuery( isset($this->related)? 'related' : 'search', |
16 | 14 | $term, $this->namespaces, $this->limit, $this->offset, $this->searchingEverything() ); |
17 | 15 | } |
— | — | @@ -749,4 +747,4 @@ |
750 | 748 | return new LuceneResult( $group, $this->mMethod ); |
751 | 749 | } |
752 | 750 | |
753 | | -} |
\ No newline at end of file |
| 751 | +} |