Page MenuHomePhabricator

Discontinue the initWikiConfig.php maintenance script in GrowthExperiments
Closed, ResolvedPublic

Description

GrowthExperiments has the initWikiConfig.php maintenance script, which was used when scaling Growth features to all Wikipedias. It populates community configuration with reasonable defaults based on Wikidata. Unfortunately, it is written to use legacy community configuration. Within this task, we should discontinue that script, as it is not useful for small wikis (and all large+medium wikis have Growth features).

Event Timeline

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

I'm undecided on what would be the right path forward. The script was really useful during the scaling (Growth-Deployments), but this was mostly because at that time, we were deploying to large or mid-sized wikis. Once we got to the very small wikis, even Wikidata didn't have enough information to populate the default configuration with. All sufficiently large wikis have Growth features by now; while we do have wikis we're missing, those wikis are recently created, and it is fairly likely the init script wouldn't really be useful on those projects (producing mostly static defaults).

Moving this to Needs Discussion pending a decision. @KStoller-WMF, I'm also adding this to our next 1:1.

Given that all new Wikipedias we may scale GrowthExperiences to will be quite small, it seems like this maintenance script will provide little value and it doesn't seem worth migrating. I'm OK with discontinuing (although others should feel free to object if they think it's worth spending time on migrating the script).

Given that all new Wikipedias we may scale GrowthExperiences to will be quite small, it seems like this maintenance script will provide little value and it doesn't seem worth migrating. I'm OK with discontinuing (although others should feel free to object if they think it's worth spending time on migrating the script).

Based on a discussion between Kirsten and me in our 1:1, I',m moving this to sprint, we will be removing the code.

Urbanecm_WMF renamed this task from Migrate initWikiConfig.php to CommunityConfiguration extension or discontinue it to Discontinue the initWikiConfig.php maintenance script in GrowthExperiments.Jan 23 2025, 4:32 PM
Urbanecm_WMF updated the task description. (Show Details)

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

[mediawiki/extensions/GrowthExperiments@master] Remove maintenance/initWikiConfig.php

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

Urbanecm_WMF triaged this task as Low priority.
Urbanecm_WMF added a project: Technical-Debt.
Urbanecm_WMF moved this task from Incoming to Code Review on the Growth-Team (Current Sprint) board.

Change #1113838 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Remove maintenance/initWikiConfig.php

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