X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/496ab657b7db5b5869229557a02b5d3bdd067df9..0d8247a2964b6e1c21df340808a183090cc0ae87:/cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb?ds=sidebyside 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..8a6ef31ca 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb @@ -4,9 +4,7 @@ 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 -%>