Catrope has uploaded a new change for review. https://gerrit.wikimedia.org/r/77268
Change subject: VE config changes for https://gerrit.wikimedia.org/r/77165 ...................................................................... VE config changes for https://gerrit.wikimedia.org/r/77165 On enwiki, make the edit links say "Edit source" and "Edit (beta)", and show a modal dialog the first time the user opens VE. Change-Id: I8a2537a2069be423a572e393bf7e11d8ebd54fda --- M wmf-config/CommonSettings.php M wmf-config/InitialiseSettings.php 2 files changed, 20 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/68/77268/1 diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php index e9d1dfe..687193b 100644 --- a/wmf-config/CommonSettings.php +++ b/wmf-config/CommonSettings.php @@ -1898,6 +1898,16 @@ if ( $wmgVisualEditorEnableSplitTest ) { $wgVisualEditorEnableSplitTest = true; } + if ( $wmgVisualEditorShowBetaWelcome ) { + $wgVisualEditorShowBetaWelcome = true; + } + if ( $wmgVisualEditorBetaInTab ) { + $wgVisualEditorTabPosition = 'after'; + $wgVisualEditorTabMessages['editappendix'] = + $wgVisualEditorTabMessages['createappendix'] = + $wgVisualEditorTabMessages['editsectionappendix'] = 'visualeditor-beta-appendix'; + } + // Also include the Parsoid extension when VE is enabled require_once( "$IP/extensions/Parsoid/php/Parsoid.php" ); diff --git a/wmf-config/InitialiseSettings.php b/wmf-config/InitialiseSettings.php index 52c8e92..a4944fe 100644 --- a/wmf-config/InitialiseSettings.php +++ b/wmf-config/InitialiseSettings.php @@ -10491,6 +10491,16 @@ 'default' => false, ), +'wmgVisualEditorShowBetaWelcome' => array( + 'default' => false, + 'enwiki' => true, +), + +'wmgVisualEditorBetaInTab' => array( + 'default' => false, + 'enwiki' => true, +), + 'wmgUseRSSExtension' => array( 'default' => false, 'foundationwiki' => true, -- To view, visit https://gerrit.wikimedia.org/r/77268 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8a2537a2069be423a572e393bf7e11d8ebd54fda Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Catrope <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
