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

Change subject: Enable ContentTranslationCorpora
......................................................................


Enable ContentTranslationCorpora

Bug: T119617
Change-Id: Iecf4a4a565da368e69217a89c86608ffc66fcf97
---
M wmf-config/CommonSettings-labs.php
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
3 files changed, 7 insertions(+), 1 deletion(-)

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



diff --git a/wmf-config/CommonSettings-labs.php 
b/wmf-config/CommonSettings-labs.php
index 47a7440..90e0ce3 100644
--- a/wmf-config/CommonSettings-labs.php
+++ b/wmf-config/CommonSettings-labs.php
@@ -122,7 +122,6 @@
        $wgContentTranslationSiteTemplates['cx'] = 
'https://cxserver-beta.wmflabs.org/v1';
        $wgContentTranslationRESTBase['url'] = 'https://rest.wikimedia.org';
        $wgContentTranslationTranslateInTarget = false;
-       $wgContentTranslationCorpora = $wmgContentTranslationCorpora;
 }
 
 if ( $wmgUseCentralNotice ) {
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 31e4ae3..ceba37b 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2776,6 +2776,8 @@
 
        $wgContentTranslationEnableSuggestions = 
$wmgContentTranslationEnableSuggestions;
 
+       $wgContentTranslationCorpora = $wmgContentTranslationCorpora;
+
        $wgContentTranslationCXServerAuth = array(
                'algorithm' => 'HS256',
                //This is set in PrivateSettings.php
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 188b46f..ace815e 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -15203,6 +15203,11 @@
        'wikipedia' => true,
 ),
 
+//Parallel Corpora
+'wmgContentTranslationCorpora' => array(
+       'default' => false,
+),
+
 'wmgUseMapSources' => array(
        'default' => false,
        'wikivoyage' => true,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iecf4a4a565da368e69217a89c86608ffc66fcf97
Gerrit-PatchSet: 4
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: KartikMistry <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Thcipriani <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to