Gergő Tisza has uploaded a new change for review.
https://gerrit.wikimedia.org/r/181358
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/58/181358/1
diff --git a/wmf-config/CommonSettings-labs.php
b/wmf-config/CommonSettings-labs.php
index 478a819..791b951 100644
--- a/wmf-config/CommonSettings-labs.php
+++ b/wmf-config/CommonSettings-labs.php
@@ -173,6 +173,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 36715a7..c81b439 100644
--- a/wmf-config/InitialiseSettings-labs.php
+++ b/wmf-config/InitialiseSettings-labs.php
@@ -472,6 +472,10 @@
'private' => false,
'fishbowl' => false,
),
+
+ '-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: newchange
Gerrit-Change-Id: I894f4591528aefb0182178e292984424ec16db11
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits