X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0a6824a8973356e876bbe7c3c85fe928e6ca70ae..23961a3f2f7ba2044e444b443b2e8eb1889c8214:/cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb diff --git a/cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb index 56412467e..ddb87f166 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb @@ -3,10 +3,3 @@ wfLoadExtension( 'CirrusSearch' ); $wgDisableSearchUpdate = false; $wgSearchType = 'CirrusSearch'; - -<% if @mediawiki[:site] == "wiki.openstreetmap.org" -%> -# setting the search weight of the main wiki's proposal namespace lower then general talk pages (0.2), but -# higher then wiki project namespace (0.1) -# Documentation at https://phabricator.wikimedia.org/source/extension-cirrussearch/browse/master/docs/settings.txt$693 -$wgCirrusSearchNamespaceWeights = array_merge ( $wgCirrusSearchNamespaceWeights, array ( NS_PROPOSAL => 0.15 )); -<% end -%>