dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move wgContLang from config to injectable
[lhc/web/wiklou.git]
/
includes
/
search
/
SearchEngine.php
diff --git
a/includes/search/SearchEngine.php
b/includes/search/SearchEngine.php
index
3d2057c
..
be5ab92
100644
(file)
--- a/
includes/search/SearchEngine.php
+++ b/
includes/search/SearchEngine.php
@@
-136,7
+136,8
@@
abstract class SearchEngine {
* @return SearchNearMatcher
*/
public function getNearMatcher( Config $config ) {
- return new SearchNearMatcher( $config );
+ global $wgContLang;
+ return new SearchNearMatcher( $config, $wgContLang );
}
/**