]> git.openstreetmap.org Git - chef.git/blob - cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb
8a6ef31ca4eac83916cfade6871647b580ad94f7
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-CirrusSearch.inc.php.erb
1 <?php
2 # DO NOT EDIT - This file is being maintained by Chef
3 wfLoadExtension( 'CirrusSearch' );
4 $wgDisableSearchUpdate = false;
5 $wgSearchType = 'CirrusSearch';
6
7 # setting the search weight of the main wiki's proposal namespace lower then general talk pages (0.2), but
8 # higher then wiki project namespace (0.1)
9 # Documentation at https://phabricator.wikimedia.org/source/extension-cirrussearch/browse/master/docs/settings.txt$693
10 $wgCirrusSearchNamespaceWeights = array_merge ( $wgCirrusSearchNamespaceWeights, array ( NS_PROPOSAL => 0.15 ));