Page MenuHomePhabricator

[config] Make it easier to deploy features in shadow mode
Closed, ResolvedPublic

Description

Background

When deploying features to a new wiki, the Growth team first deploys it in a shadow/dark mode, meaning the features are not available to newcomers. In the current state of config, it is necessary to override both wgWelcomeSurveyExperimentalGroups (to not show welcome survey to anyone) and wgGEHomepageNewAccountEnablePercentage (to control all other features).

It is easy to make mistakes, forgetting one of those variables.

Proposed solution

Let's mask this with wmgGEFeaturesMayBeAvailableToNewcomers, which will set both variables to the intended values. If we need to change only one of those variables, we can do it easily by changing just one of them.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 667581 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Define wmgGEFeaturesMayBeAvailableToNewcomers that controls whether GE features are newcomer-deployed

https://gerrit.wikimedia.org/r/667581

Change 667686 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Simplify deployment of Growth team features (2/3)

https://gerrit.wikimedia.org/r/667686

Change 667687 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Simplify deployment of Growth team features (3/3)

https://gerrit.wikimedia.org/r/667687

Change 667581 merged by jenkins-bot:
[operations/mediawiki-config@master] Simplify deployment of Growth team features (1/3)

https://gerrit.wikimedia.org/r/667581

Mentioned in SAL (#wikimedia-operations) [2021-03-01T18:54:34Z] <urbanecm@deploy1001> Synchronized wmf-config/InitialiseSettings.php: e991806eb9dc5ec018ebc59832d02e8a6563ba0a: Simplify deployment of Growth team features (1/3; T276091) (duration: 00m 57s)

Change 667686 merged by jenkins-bot:
[operations/mediawiki-config@master] Simplify deployment of Growth team features (2/3)

https://gerrit.wikimedia.org/r/667686

Change 667687 merged by jenkins-bot:
[operations/mediawiki-config@master] Simplify deployment of Growth team features (3/3)

https://gerrit.wikimedia.org/r/667687

Mentioned in SAL (#wikimedia-operations) [2021-03-01T19:01:00Z] <urbanecm@deploy1001> Synchronized wmf-config/CommonSettings.php: de0f74126eddafb5375b853d543b377e78544caa: Simplify deployment of Growth team features (2/3; T276091) (duration: 00m 57s)

Mentioned in SAL (#wikimedia-operations) [2021-03-01T19:02:37Z] <urbanecm@deploy1001> Synchronized wmf-config/InitialiseSettings.php: 599b7390c840388d97dc4cdbf1796451d4024c22: Simplify deployment of Growth team features (3/3; T276091) (duration: 01m 00s)

Mentioned in SAL (#wikimedia-operations) [2021-03-02T00:25:49Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: REDEPLOY: e991806eb9dc5ec018ebc59832d02e8a6563ba0a: Simplify deployment of Growth team features (1/3; T276091) (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2021-03-02T00:26:45Z] <urbanecm@deploy1002> sync-file aborted: REDEPLOY: de0f74126eddafb5375b853d543b377e78544caa: Simplify deployment of Growth team features (2/3; T276091) (duration: 00m 25s)

Mentioned in SAL (#wikimedia-operations) [2021-03-02T00:27:52Z] <urbanecm@deploy1002> Synchronized wmf-config/CommonSettings.php: REDEPLOY: de0f74126eddafb5375b853d543b377e78544caa: Simplify deployment of Growth team features (2/3; T276091) (duration: 00m 57s)

Mentioned in SAL (#wikimedia-operations) [2021-03-02T00:29:23Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: REDEPLOY: 599b7390c840388d97dc4cdbf1796451d4024c22: Simplify deployment of Growth team features (3/3; T276091) (duration: 00m 56s)