Page MenuHomePhabricator

Enable GrowthExperiments on a brand new wiki
Closed, ResolvedPublic

Description

As part of T304052: Enable Growth features on Wikipedias upon creation, we want to enable GrowthExperiments on all newly created Wikipedias. However, GrowthExperiments depends on several services that are not readily available for very new wikis (within the same day of creation). We never attempted to enable GrowthExperiments on any such wiki, so we do not know precisely what the behaviour would be. In this task, we want to enable GrowthExperiments on a brand new wiki (within the wiki creation process), observe what happens and fill any followup tasks that might be necessary.

Recently, Language Committee has approved Jju Wikipedia, which is being created in T413283: Create Jju Wikipedia. As a one-off, @Urbanecm_WMF will carry out the Wikipedia creation and enable GrowthExperiments on that wiki while doing so.

This task is somehow time-sensitive (and tricky to plan for in the long term), as Wikipedias do not get created every days, we are unable to predict when the next one will be ready, and we just happen to have one now.

Details

Event Timeline

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

[operations/mediawiki-config@master] kajwiki: Enable GrowthExperiments

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

Change #1233206 merged by jenkins-bot:

[operations/mediawiki-config@master] kajwiki: Enable GrowthExperiments

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

Mentioned in SAL (#wikimedia-operations) [2026-01-26T15:56:00Z] <urbanecm@deploy2002> Started scap sync-world: Backport for [[gerrit:1233206|kajwiki: Enable GrowthExperiments (T415027)]]

Mentioned in SAL (#wikimedia-operations) [2026-01-26T15:57:59Z] <urbanecm@deploy2002> urbanecm: Backport for [[gerrit:1233206|kajwiki: Enable GrowthExperiments (T415027)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-01-26T16:06:04Z] <urbanecm@deploy2002> Finished scap sync-world: Backport for [[gerrit:1233206|kajwiki: Enable GrowthExperiments (T415027)]] (duration: 10m 04s)

The creation was surprisingly smooth. The only hiccup was related to wiki creation logic itself (T415555). Once the wiki was created, I created GrowthExperiments tables by running WikimediaMaintenance:createExtensionTables.php growthexperiments, enabled GrowthExperiments by setting wmgUseGrowthExperiments to true and everything worked as expected. As far as I could see, there were no errors in Logstash related to eg. unreachable services etc. The interface doesn't offer much, but that is not expected. The important part is that communities can set it up via Community Configuration on their own, without needing intervention from the Growth team.

After a discussion with @KStoller-WMF, we decided to (eventually) enable GrowthExperiments on all wikis, recognising the interface would be of limited usability early on. To do that, we need to:

  1. First, manually enable GrowthExperiments on new wikis where the Growth tables are missing. This would fix the discrepancy described at T414600: Figure out missing GrowthExperiments db tables on new wikis.
  2. Then, enable GrowthExperiments on all remaining Wikipedias that exist.
  3. Finally, ensure wmgUseGrowthExperiments is set to true by default on Wikipedias.

Ideally, we would offer new wikis something. Add Link is – in theory – a simple task that only requires some content. I had a short discussion with @OKarakaya-WMF (internal meeting notes) to understand how difficult would that be. I learned that as of now, Add Link datasets are only generated for explicitly allowlisted wikis. Adding new wikis is possible (there, and to copies of the allowlist in 2 other Add Link DAGs), but it needs to be done manually. @OKarakaya-WMF said it would be possible to generate the Add Link datasets for all Wikipedias automatically (once enough data is available). At that point, it would be very much possible for the Growth team to offer Add Link to those wikis by default.

Next step: I'm going to fill out tasks to take the actions described in the previous comment. Then, this task can be closed.

I updated T304052 with a checklist of tasks. I think this can be closed now.