Page MenuHomePhabricator

Deploy Community configuration to beta wiki
Closed, ResolvedPublic2 Estimated Story Points

Description

The Growth-Team currently works on the Community configuration 2.0. The feature is implemented as a separate extension, which is called CommunityConfiguration. To make it easy to work with Community configuration in a shared environment, we'd like to deploy it to beta as soon as reasonably possible. This task exists to track the deployment of Community configuration into the Beta cluster.

Checklist

According to the Writing an extension for deployment guide at MediaWiki.org, the following needs to be done before beta deployment.

  • MediaWiki.org extension documentation page (exists)
  • Gerrit repository exists (done in T354360)
  • Continuous integration setup using the in-wikimedia-production template
  • Phabricator project exists (CommunityConfiguration)
  • Stewardship: Developes/Maintainers lists who is responsible for the project long-term (T360383)
  • Localization: Extension is localizable via TranslateWiki.net (T357767)
  • Reviews
    • Application security review (T349568)
    • Security review of any new external dependencies (not applicable; no new external dependencies)

We will also need to request a performance review, but that is typically not a deployment blocker, hence, not including it in the checklist above.

In addition to the checklist above, the guideline also recommends upholding the following standards; before proceeding with deployment, we should double check they're met.

  • Unit testing: The extension should be reasonably unit testable. File unit tasks as subtasks as needed.
  • Reasonable feature flags (probably not appropriate for our use-case)

Related Objects

Event Timeline

KStoller-WMF set the point value for this task to 2.

As a first step, we can release to just one beta wiki.

I've suggested es.wikipedia.beta since Spanish is a Growth Pilot wiki, and then @Zapipedia-WMF, @JFernandez-WMF, @Etonkovidova, and I can do more testing at this early stage.

In order to test Community Configuration 2.0 on Spanish beta wiki, we will all need to have admin permissions on that wiki.

I've created Kstoller_test as a test account for this purpose.

I've created Kstoller_test as a test account for this purpose.

Promoted this account to an admin. @Zapipedia-WMF, @JFernandez-WMF, @Etonkovidova – happy to give your accounts admin permissions as well if you give me your eswiki beta usernames.

I've created Kstoller_test as a test account for this purpose.

Promoted this account to an admin. @Zapipedia-WMF, @JFernandez-WMF, @Etonkovidova – happy to give your accounts admin permissions as well if you give me your eswiki beta usernames.

Thx, @Urbanecm_WMF - I already have a test user with admin rights on eswiki beta. I looked at the user rights of Kstoller_test - it seems that only Admin rights are needed for Community Configuration editing.

Hello Martin. Here is my username for eswiki beta: IZapico test. Thank you!

Hello Martin. Here is my username for eswiki beta: IZapico test. Thank you!

Promoted you as well. Thanks!

Change #1013608 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] Add CommunityConfiguration extension

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

Change #1013609 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] Add wmgUseCommunityConfiguration

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

Change #1013610 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] [beta] eswiki: Enable CommunityConfiguration extension

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

Change #1013611 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] [beta] eswiki: Use CommunityConfiguration extension for GrowthExperiments

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

Change #1013608 merged by jenkins-bot:

[operations/mediawiki-config@master] Add CommunityConfiguration extension

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

Change #1013609 merged by jenkins-bot:

[operations/mediawiki-config@master] Add wmgUseCommunityConfiguration

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

Mentioned in SAL (#wikimedia-operations) [2024-03-26T09:42:03Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:1013608|Add CommunityConfiguration extension (T357766)]], [[gerrit:1013609|Add wmgUseCommunityConfiguration (T357766)]]

Mentioned in SAL (#wikimedia-operations) [2024-03-26T10:13:42Z] <urbanecm@deploy1002> urbanecm: Backport for [[gerrit:1013608|Add CommunityConfiguration extension (T357766)]], [[gerrit:1013609|Add wmgUseCommunityConfiguration (T357766)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Change #1013610 merged by jenkins-bot:

[operations/mediawiki-config@master] [beta] eswiki: Enable CommunityConfiguration extension

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

Mentioned in SAL (#wikimedia-operations) [2024-03-26T10:31:01Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:1013608|Add CommunityConfiguration extension (T357766)]], [[gerrit:1013609|Add wmgUseCommunityConfiguration (T357766)]] (duration: 48m 57s)

Change #1013611 merged by jenkins-bot:

[operations/mediawiki-config@master] [beta] eswiki: Use CommunityConfiguration extension for GrowthExperiments

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

Mentioned in SAL (#wikimedia-operations) [2024-03-26T10:33:06Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:1013610|[beta] eswiki: Enable CommunityConfiguration extension (T357766)]], [[gerrit:1013611|[beta] eswiki: Use CommunityConfiguration extension for GrowthExperiments (T357766)]]

Mentioned in SAL (#wikimedia-operations) [2024-03-26T10:35:43Z] <urbanecm@deploy1002> urbanecm: Backport for [[gerrit:1013610|[beta] eswiki: Enable CommunityConfiguration extension (T357766)]], [[gerrit:1013611|[beta] eswiki: Use CommunityConfiguration extension for GrowthExperiments (T357766)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Change #1014480 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[operations/mediawiki-config@master] [beta] eswiki: Fix CommunityConfiguration config for GrowthExperiments

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

Change #1014480 merged by jenkins-bot:

[operations/mediawiki-config@master] [beta] eswiki: Fix CommunityConfiguration config for GrowthExperiments

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

Mentioned in SAL (#wikimedia-operations) [2024-03-26T10:46:46Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:1013610|[beta] eswiki: Enable CommunityConfiguration extension (T357766)]], [[gerrit:1013611|[beta] eswiki: Use CommunityConfiguration extension for GrowthExperiments (T357766)]] (duration: 13m 41s)

CommunityConfiguration is now at Beta (in eswiki): https://es.wikipedia.beta.wmflabs.org/wiki/Special:CommunityConfiguration. As of now, only Mentorship is enabled, but there should be no differences between localhost and beta behaviour.