Page MenuHomePhabricator

Delete (kebab menu): Check if the event page belongs to the wiki where the organizer is trying to delete event
Closed, ResolvedPublic2 Estimated Story Points

Description

As an event organizer who is trying to delete my event registration, I want to be able to delete my event from any wiki where I can access Special:MyEvents, so that I can easily and quickly delete my event registration.

Acceptance Criteria:

  • Given an event organizer goes to Special:MyEvents and clicks on Delete Event in the kebab menu
    • And the event ID does not belong to the wiki where the user is trying to access the page
      • The event organizer should be redirected to Special:DeleteEventRegistration to complete the action

Event Timeline

cmelo changed the task status from Open to In Progress.Mar 19 2024, 6:14 PM
cmelo claimed this task.
cmelo changed the task status from In Progress to Stalled.Mar 21 2024, 1:23 PM

Moved to in review after team discussion on how we will unblock this work, which is: Remove open/close in all cases (whether on the local or foreign wiki) from the kebab menu, and redirect users to special delete page if on a foreign wiki

Change #1019219 had a related patch set uploaded (by Cmelo; author: Cmelo):

[mediawiki/extensions/CampaignEvents@master] Open DeleteEventRegistration if the event is not local

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

Change #1019219 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Open DeleteEventRegistration if the event is not local

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

vaughnwalters subscribed.

Acceptance Criteria:

Given an event organizer goes to Special:MyEvents and clicks on Delete Event in the kebab menu
And the event ID does not belong to the wiki where the user is trying to access the page
✅ The event organizer should be redirected to Special:DeleteEventRegistration to complete the action

Delete event in the kebab menu correctly redirects to Special:DeleteEventRegistration, so I am moving this to product sign off.

Screen Recording 2024-04-12 at 5.08.46 PM.gif (1×2 px, 460 KB)

The global implementation work is complete and we have released to another wiki (Igbo Wikipedia), so I'm marking this work as Done.