Page MenuHomePhabricator

Community configuration 2.0: Rewrite the CommunityConfiguration PoC extension so it does not require extension.json schema changes
Closed, ResolvedPublic4 Estimated Story Points

Description

From the T349757: [RFC] Community configuration 2.0: Validating site configuration discussion:

Required changes in MediaWiki Core: sandbox/urbanecm/community-configuration in Gerrit, see Gerrit

Core shouldn't have to know about CommunityConfiguration in this way, and I don't think it needs to. You can just declare "attributes" that can be set by other extensions: https://www.mediawiki.org/wiki/Manual:Extension.json/Schema#attributes

(The "attribute" mechanism should itself make use of ConfigSchemaAggregator and use JSON schema at some point...)

Let's make this improvement, to ensure that our dependency on MediaWiki Core changes is the minimum possible.

Details

ReferenceSource BranchDest BranchAuthorTitle
repos/growth/community-configuration-example!2extension-attributesmainurbanecmDo not require extension.json schema changes
Customize query in GitLab

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Urbanecm_WMF renamed this task from Community configuration 2.0: Rewrite the CommunityConfiguration PoC extension so it does not require any MediaWiki Core changes to Community configuration 2.0: Rewrite the CommunityConfiguration PoC extension so it does not require extension.json schema changes.Nov 14 2023, 5:47 PM
KStoller-WMF set the point value for this task to 4.Nov 14 2023, 5:48 PM

This is now done. I managed to miss a critical point in the documentation, so I attempted to clarify the docs as well.