Page MenuHomePhabricator

Create community configuration option for namespace selection
Closed, ResolvedPublic3 Estimated Story Points

Description

Acceptance criteria

As a user
When I visit Special:CommunityConfiguration
I will see a section labelled "CampaignEvents"
And with subtitle "Configuration options for the CampaignEvents extension"

When I click the section
I will be taken to a page with a field that allows me to select namespaces
And the field label should be "Valid event namespaces"
And the field should have no description and help text


Note: CommunityConfiguration settings are entirely declarative, and therefore we can't have custom validation such as "prevent removal of the Event: namespace".

Event Timeline

MHorsey-WMF set the point value for this task to 3.Mar 6 2025, 1:15 PM

Change #1126576 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/CampaignEvents@master] Add CommunityConfiguration option for Event namespaces

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

Change #1126616 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[integration/config@master] zuul: Add CommunityConfiguration as phan dependency of CampaignEvents

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

Change #1126616 merged by jenkins-bot:

[integration/config@master] zuul: Add CommunityConfiguration as phan dependency of CampaignEvents

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

Change #1127529 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/CampaignEvents@master] add overridable service to enable implementation of community config

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

Change #1127529 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] add overridable service to enable implementation of community config

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

Daimona changed the task status from Open to Stalled.Apr 3 2025, 1:18 PM
Daimona subscribed.

Marking as blocked because this needs to land in the wmf.25 train, in two weeks.

Change #1126576 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Add CommunityConfiguration option for Event namespaces

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

vaughnwalters subscribed.

As a user
When I visit Special:CommunityConfiguration
โœ… I will see a section labelled "CampaignEvents"
โœ… And with subtitle "Configuration options for the CampaignEvents extension"

Screenshot 2025-04-16 at 4.27.23โ€ฏPM.png (242ร—1 px, 25 KB)

When I click the section
โœ… I will be taken to a page with a field that allows me to select namespaces
โœ… And the field label should be "Valid event namespaces"
โœ… And the field should have no description and help text

Screenshot 2025-04-16 at 4.28.01โ€ฏPM.png (514ร—1 px, 51 KB)

AC met, sending to design sign off

ifried subscribed.

This looked good when I tested this on the beta cluster, so I'm marking it as done.