Demon has uploaded a new change for review.
https://gerrit.wikimedia.org/r/76623
Change subject: CirrusSearch only for enwiki at the moment
......................................................................
CirrusSearch only for enwiki at the moment
More will come later, but let's tackle one beast at a time, eh?
Change-Id: I8a441b309b01751547c9a6e19f70baea428ab8f3
---
M wmf-config/CommonSettings.php
1 file changed, 7 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/23/76623/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index dc343c7..35312a1 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -913,10 +913,13 @@
# :SEARCH:
switch ( $wmfRealm ) {
case 'labs':
- wfProfileIn( "$fname-CirrusSearch" );
- include( "$wmfConfigDir/CirrusSearch-common.php" );
- wfProfileOut( "$fname-CirrusSearch" );
- break;
+ // Silly hack since we're working on this one language at a time
+ if( in_array( $wgDBname, array( 'enwiki' ) ) ) {
+ wfProfileIn( "$fname-CirrusSearch" );
+ include( "$wmfConfigDir/CirrusSearch-common.php" );
+ wfProfileOut( "$fname-CirrusSearch" );
+ break;
+ }
case 'production':
default:
# This is overridden in the Lucene section below
--
To view, visit https://gerrit.wikimedia.org/r/76623
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a441b309b01751547c9a6e19f70baea428ab8f3
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Demon <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits