Alex Monk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/275270
Change subject: Set VisualEditorSingleEditTabSwitchTime to correct dates
......................................................................
Set VisualEditorSingleEditTabSwitchTime to correct dates
Change-Id: I4f1a0554d4b338629d1af2e019ebf0746ce6ad35
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/70/275270/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 9c80d8e..c610364 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2007,6 +2007,7 @@
// Tab configuration
if ( $wmgVisualEditorUseSingleEditTab ) {
$wgVisualEditorUseSingleEditTab = true;
+ $wgVisualEditorSingleEditTabSwitchTime =
$wmgVisualEditorSingleEditTabSwitchTime;
if ( $wmgVisualEditorSingleEditTabSecondaryEditor ) {
$wgDefaultUserOptions['visualeditor-editor'] =
'wikitext';
} else {
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index 4f54353..e7ed64b 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -13189,6 +13189,17 @@
'officewiki' => true, # Per legoktm's orders, 2016-03-03
),
+// Time that above variable was switched on, used to determine whether we
should prompt user about
+// preference on first load
+'wmgVisualEditorSingleEditTabSwitchTime' => array(
+ 'default' => 20160101000000,
+ 'mediawikiwiki' => 20160203000000,
+ 'testwiki' => 20160203000000,
+ 'test2wiki' => 20151215000000,
+ 'huwiki' => 20160223000000,
+ 'officewiki' => 20160303000000,
+),
+
// Whether the wikitext editor should be the default (first-open) editor on
SET wikis
'wmgVisualEditorSingleEditTabSecondaryEditor' => array(
'default' => false,
--
To view, visit https://gerrit.wikimedia.org/r/275270
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f1a0554d4b338629d1af2e019ebf0746ce6ad35
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits