jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/381025 )

Change subject: Make using CirrusSearch engine default for wbsearchentities on 
test.wikidata.org
......................................................................


Make using CirrusSearch engine default for wbsearchentities on test.wikidata.org

Bug: T175741
Change-Id: I3a610619efcdade470b330ce6cccd81a2c030619
---
M wmf-config/Wikibase.php
1 file changed, 8 insertions(+), 3 deletions(-)

Approvals:
  Lydia Pintscher: Looks good to me, but someone else must approve
  Daniel Kinzler: Looks good to me, but someone else must approve
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php
index c97a157..4631797 100644
--- a/wmf-config/Wikibase.php
+++ b/wmf-config/Wikibase.php
@@ -132,9 +132,14 @@
        // on either Item or Property pages. T86453
        $wgCaptchaTriggersOnNamespace[NS_MAIN]['addurl'] = false;
        $wgCaptchaTriggersOnNamespace[WB_NS_PROPERTY]['addurl'] = false;
-       // Soft-enable Cirrus usage for wbsearchentities
-       // Cirrus search will be used if useCirrus=1 parameter is set
-       $wgWBRepoSettings['entitySearch']['useCirrus'] = null;
+       if ( $wgDBname === 'testwikidatawiki' ) {
+               // Enable Cirrus on test.wikidata.org
+               $wgWBRepoSettings['entitySearch']['useCirrus'] = true;
+       } else {
+               // Soft-enable Cirrus usage for wbsearchentities
+               // Cirrus search will be used if useCirrus=1 parameter is set
+               $wgWBRepoSettings['entitySearch']['useCirrus'] = null;
+       }
 }
 
 if ( $wmgUseWikibaseClient ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3a610619efcdade470b330ce6cccd81a2c030619
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Smalyshev <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: DCausse <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Lydia Pintscher (WMDE) <[email protected]>
Gerrit-Reviewer: Lydia Pintscher <[email protected]>
Gerrit-Reviewer: Urbanecm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to