]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb
wiki: Ensure custom config for wiki.osm.org is loaded
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-CirrusSearch.inc.php.erb
index 44485f2c3b067670c65ab6d8341c35a0374907eb..56412467e6a001465239de65455bbbc71f45d944 100644 (file)
@@ -4,7 +4,7 @@ wfLoadExtension( 'CirrusSearch' );
 $wgDisableSearchUpdate = false;
 $wgSearchType = 'CirrusSearch';
 
-<% if @mediawiki[:site] === "wiki.openstreetmap.org" %>
+<% 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