GrowthExperiments-Mentorship needs to maintain a list of mentors. Currently, this is done via CommunityConfiguration, specifically, using the GrowthMentorList provider. Data validity is ensured by custom-written validator (originally from times when no Community Configuration existed and when a similar feature existed internally within GrowthExperiments).
Ideally, we should use the default JSON-based validator. This will allow us to do several improvements:
- remove last bits of CC1.0 code from GrowthExperiments,
- ensure defaults-provisioning code works as intended (see T417417 for more details),
- in the long term, be easier to maintain than a custom-written validator.
@Urbanecm_WMF previously attempted to do this as part of T367575: Structured Mentor list should load its data using the CommunityConfiguration extension, but unsuccessfully.
Acceptance Criteria
- On all wikis (beta and production), the JSON schema validator is used to validate MediaWiki:GrowthMentors.json