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

Change subject: New wikitext editor: Enable the Beta Feature in Beta Cluster
......................................................................


New wikitext editor: Enable the Beta Feature in Beta Cluster

Change-Id: I62213afa16fa993789ec037223a350c6e63702f6
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings-labs.php
M wmf-config/InitialiseSettings.php
3 files changed, 14 insertions(+), 1 deletion(-)

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



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 7a6fc43..d1587d8 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2154,6 +2154,9 @@
                        $wgVisualEditorTabPosition = 'after';
                }
        }
+       if ( $wmgVisualEditorEnableWikitext ) {
+               $wgVisualEditorEnableWikitext = true;
+       }
 
        // Namespace configuration
        $wgVisualEditorAvailableNamespaces = 
$wmgVisualEditorAvailableNamespaces;
diff --git a/wmf-config/InitialiseSettings-labs.php 
b/wmf-config/InitialiseSettings-labs.php
index cb9ce27..1ad6aca 100644
--- a/wmf-config/InitialiseSettings-labs.php
+++ b/wmf-config/InitialiseSettings-labs.php
@@ -319,6 +319,9 @@
                'wmgVisualEditorTransitionDefault' => [
                        'default' => false,
                ],
+               'wmgVisualEditorEnableWikitext' => [
+                       'default' => true,
+               ],
 
                ///
                /// ------------ BetaFeatures end -----------
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 45d0768..fc164e9 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -13697,7 +13697,8 @@
        'enwiki' => true, // T132806
 ],
 
-// Whether VisualEditor's second tab and section link come after those for 
wikitext (on non-SET wikis)
+// Whether VisualEditor's second tab and section link come after (rather than 
before) those for
+// wikitext (on non-SET wikis)
 'wmgVisualEditorSecondaryTabs' => [
        'default' => false,
        'enwiki' => true,
@@ -13705,6 +13706,12 @@
        'hewiki' => true, // T54552
 ],
 
+// Whether to enable the 2017 wikitext editor alongside the visual editor. 
This is a feature flag
+// on top of the Beta Feature which needs each user to opt-in (once it's added 
to the whitelist).
+'wmgVisualEditorEnableWikitext' => [
+       'default' => false,
+],
+
 // Namespaces for VisualEditor to be active in, as well as wgContentNamespaces
 'wmgVisualEditorAvailableNamespaces' => [
        'default' => [

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I62213afa16fa993789ec037223a350c6e63702f6
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Alex Monk <a...@wikimedia.org>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to