Page MenuHomePhabricator

Structured Mentor list should load its data using the CommunityConfiguration extension
Closed, ResolvedPublic

Description

Right now, the structured mentor list is using the legacy Community Configuration code (as one of the two parts of the extension). While it works, it duplicates virtually equal code in two places: MediaWiki-extensions-CommunityConfiguration and GrowthExperiments. To avoid doing that, we should switch to CommunityConfiguration for structured Mentor list as well.

Related Objects

Event Timeline

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

I think we should start on this fairly soon (ideally before all-wikis deployment, although we can delay that if needed), so that we can verify the migrated structured mentorlist works more easily.

Urbanecm_WMF raised the priority of this task from Medium to High.Jun 14 2024, 4:05 PM
Urbanecm_WMF moved this task from Inbox to Backlog on the Growth-Team board.

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

[mediawiki/extensions/GrowthExperiments@master] Mentor list: Prepare for CommunityConfiguration extension

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

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

[mediawiki/extensions/GrowthExperiments@master] Mentor list: Support CommunityConfiguration extension

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

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

[mediawiki/extensions/CommunityConfiguration@master] WikiPageWriter: Do not use the clone keyword

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

Urbanecm_WMF lowered the priority of this task from High to Medium.Jul 2 2024, 11:57 AM

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

[mediawiki/extensions/GrowthExperiments@master] Mentor list: Respect mentor list change tag with CommunityConfiguration

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

Change #1050638 merged by jenkins-bot:

[mediawiki/extensions/CommunityConfiguration@master] WikiPageWriter: Do not use the clone keyword

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

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

[mediawiki/extensions/GrowthExperiments@master] Validate mentor list using a JSON schema

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

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

[mediawiki/extensions/CommunityConfiguration@master] IConfigurationStore: Add support for writes without permissions

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

Change #1052156 merged by jenkins-bot:

[mediawiki/extensions/CommunityConfiguration@master] IConfigurationStore: Add support for writes without permissions

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

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

[mediawiki/extensions/CommunityConfiguration@master] Make it possible to skip permission checks from the provider level

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

Change #1050621 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Mentor list: Prepare for CommunityConfiguration extension

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

Change #1052939 merged by jenkins-bot:

[mediawiki/extensions/CommunityConfiguration@master] Make it possible to skip permission checks from the provider level

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

Change #1050627 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Mentor list: Support CommunityConfiguration extension

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

Change #1051460 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Mentor list: Respect mentor list change tag with CommunityConfiguration

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

Michael changed the task status from Open to Stalled.Jul 24 2024, 10:26 AM
Michael subscribed.

Let's move this to Blocked for now. It seems to require some resolution to T369608: Create a reasonable solution for working with CommunityConfiguration data.

Unclaiming, as I'll be off for most of August.

Urbanecm_WMF renamed this task from Structured Mentor list should make use of CommunityConfiguration extension to Structured Mentor list should load its data using the CommunityConfiguration extension.Feb 12 2025, 7:37 PM
Urbanecm_WMF claimed this task.

The main purpose of this task was to load the data via Community Configuration, so that the WikiPageConfig{Reader,Writer} classes can be removed. This has been fulfilled. The remaining portion is migrating the validator. To make things more clear, I split the validator issue into T386257: Replace CommunityStructuredMentorListValidator with a JSON schema validator. Resolving this one.

Change #1052143 abandoned by Urbanecm:

[mediawiki/extensions/GrowthExperiments@master] Validate mentor list using a JSON schema

Reason:

will replace with a different solution

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