EBernhardson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/315544

Change subject: wgCirrusSimilarityProfile -> wgCirrusSearchSimilarityProfile
......................................................................

wgCirrusSimilarityProfile -> wgCirrusSearchSimilarityProfile

This variable was mis-named, so had no effect. Fix it to match the
expected name.

Change-Id: I8dff7cb74202f21548a3aa0bc3ba41b3d0c2340a
---
M wmf-config/CirrusSearch-common.php
M wmf-config/InitialiseSettings.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/44/315544/1

diff --git a/wmf-config/CirrusSearch-common.php 
b/wmf-config/CirrusSearch-common.php
index fe07079..ab2a4cf 100644
--- a/wmf-config/CirrusSearch-common.php
+++ b/wmf-config/CirrusSearch-common.php
@@ -146,7 +146,7 @@
 $wgCirrusSearchNamespaceWeights = $wmgCirrusSearchNamespaceWeightOverrides +
        $wgCirrusSearchNamespaceWeights;
 
-$wgCirrusSimilarityProfile = $wmgCirrusSimilarityProfile;
+$wgCirrusSearchSimilarityProfile = $wmgCirrusSimilarityProfile;
 $wgCirrusSearchRescoreProfile = $wmgCirrusSearchRescoreProfile;
 $wgCirrusSearchFullTextQueryBuilderProfile = 
$wmgCirrusSearchFullTextQueryBuilderProfile;
 $wgCirrusSearchIgnoreOnWikiBoostTemplates = 
$wmgCirrusSearchIgnoreOnWikiBoostTemplates;
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index cac8fb7..42b358e 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -16635,7 +16635,7 @@
        'default' => false,
 ],
 
-'wmgCirrusSimilarityProfile' => [
+'wmgCirrusSearchSimilarityProfile' => [
        'default' => 'default',
        'enwiki' => 'wmf_defaults',
        'arwiki' => 'wmf_defaults',

-- 
To view, visit https://gerrit.wikimedia.org/r/315544
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8dff7cb74202f21548a3aa0bc3ba41b3d0c2340a
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to