Page MenuHomePhabricator

Disable Program and Events Dashboard integration for unsupported wikis
Closed, ResolvedPublic2 Estimated Story Points

Description

P&E dashboard only supports production content wikis and meta, so we should remove the program and events dashboard form field on Special:EnableEventRegistration and Special:EditEventRegistration for all affiliate wikis

Acceptance criteria:
Program & Events Dashboard link form field is removed from Special:EnableEventRegistration and Special:EditEventRegistration on non production wikis

Screenshot 2024-10-15 at 1.17.33 PM.png (2,074×224 px, 67 KB)

Event Timeline

Daimona set the point value for this task to 2.Oct 16 2024, 4:22 PM

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

[mediawiki/extensions/CampaignEvents@master] Only add P&E dashboard field on valid wikis

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

Because of the way that the dashboard code does it's validation, it's very difficult to cover all cases so after discussion with @Daimona we are reducing the scope to just cover affiliates.

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

[operations/mediawiki-config@master] Exclude affiliates from P&E dashboard integration for CampaignEvents Extension

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

Change #1083163 abandoned by Mhorsey:

[mediawiki/extensions/CampaignEvents@master] Only add P&E dashboard field on valid wikis

Reason:

Incorrect approach

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

Change #1084765 merged by jenkins-bot:

[operations/mediawiki-config@master] Exclude affiliates from P&E dashboard integration for CampaignEvents Extension

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

Mentioned in SAL (#wikimedia-operations) [2024-11-04T14:12:32Z] <lucaswerkmeister-wmde@deploy2002> Started scap sync-world: Backport for [[gerrit:1084765|Exclude affiliates from P&E dashboard integration for CampaignEvents Extension (T377252)]]

Mentioned in SAL (#wikimedia-operations) [2024-11-04T14:23:13Z] <lucaswerkmeister-wmde@deploy2002> mhorsey, lucaswerkmeister-wmde: Backport for [[gerrit:1084765|Exclude affiliates from P&E dashboard integration for CampaignEvents Extension (T377252)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-11-04T14:36:12Z] <lucaswerkmeister-wmde@deploy2002> Finished scap sync-world: Backport for [[gerrit:1084765|Exclude affiliates from P&E dashboard integration for CampaignEvents Extension (T377252)]] (duration: 23m 39s)

✅ Program & Events Dashboard link form field is removed from Special:EnableEventRegistration and Special:EditEventRegistration on non production wikis

Special:EnableEventRegistrationSpecial:EditEventRegistration
Screenshot 2024-11-04 at 9.21.49 AM.png (3,152×1,384 px, 344 KB)
{F57679184}

AC met, sending to product sign off