Jforrester has uploaded a new change for review. https://gerrit.wikimedia.org/r/311877
Change subject: New wikitext editor: Enable the Beta Feature in Beta Cluster ...................................................................... New wikitext editor: Enable the Beta Feature in Beta Cluster Change-Id: Iaa67ca519868c51005b4ec0097d4379c601e0450 --- M wmf-config/CommonSettings.php M wmf-config/InitialiseSettings-labs.php M wmf-config/InitialiseSettings.php 3 files changed, 14 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/77/311877/1 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/311877 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaa67ca519868c51005b4ec0097d4379c601e0450 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Jforrester <jforres...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits