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

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptMar 5 2024, 5:15 PM
cmelo changed the task status from Open to In Progress.Mar 19 2024, 6:14 PM
cmelo claimed this task.

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.