jenkins-bot has submitted this change and it was merged.

Change subject: Add -labs settings for Score
......................................................................


Add -labs settings for Score

The beta cluster does not have Swift so the backend configuration
is different; there is no global backend. Force Score to use a
simple directory path instead of a backend object, like Math does.

Bug: T85049
Change-Id: I894f4591528aefb0182178e292984424ec16db11
---
M wmf-config/CommonSettings-labs.php
M wmf-config/InitialiseSettings-labs.php
2 files changed, 9 insertions(+), 0 deletions(-)

Approvals:
  Alex Monk: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings-labs.php 
b/wmf-config/CommonSettings-labs.php
index 204d6e3..70d2839 100644
--- a/wmf-config/CommonSettings-labs.php
+++ b/wmf-config/CommonSettings-labs.php
@@ -180,6 +180,11 @@
        $wgMathMathMLUrl = 'http://deployment-mathoid.eqiad.wmflabs:10042';
 }
 
+if ( $wmgUseScore ) {
+       $wgScoreFileBackend = false;
+       $wgScoreDirectory = '/data/project/upload7/score';
+}
+
 // CORS (cross-domain AJAX, bug 20814)
 // This lists the domains that are accepted as *origins* of CORS requests
 // DO NOT add domains here that aren't WMF wikis unless you really know what 
you're doing
diff --git a/wmf-config/InitialiseSettings-labs.php 
b/wmf-config/InitialiseSettings-labs.php
index eee48de..4b5356c 100644
--- a/wmf-config/InitialiseSettings-labs.php
+++ b/wmf-config/InitialiseSettings-labs.php
@@ -515,6 +515,10 @@
        'wmgUseBounceHandler' => array(
                'default' => true,
        ),
+
+       '-wmgScorePath' => array(
+               'default' => "//upload.$variant.wmflabs.org/score",
+       ),
 );
 
 } # wmflLabsSettings()

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I894f4591528aefb0182178e292984424ec16db11
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: GergÅ‘ Tisza <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Gilles <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Spage <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to