As an event organizer who is trying to delete my event registration, I want to be redirected to the wiki of the my event, so that I can successfully delete my event registration.
Acceptance Criteria:
- Given an event organizer goes to the Special:DeleteEventRegistration/{eventID}
- And the event ID does not belong to the wiki where the user is trying to access the page
- Then we display the following text: "Please delete your event registration on [wiki name], the wiki where the event was created."
- Hyperlink to the proper wiki Special:DeleteEventRegistration/{eventID} on the following text: "delete your event registration on [wiki name]"
- Note that the wiki name should be displayed as a URL (such as en.wikipedia.org) rather than the DB name
- Hyperlink to the proper wiki Special:DeleteEventRegistration/{eventID} on the following text: "delete your event registration on [wiki name]"
- Then we display the following text: "Please delete your event registration on [wiki name], the wiki where the event was created."
- And the event ID does not belong to the wiki where the user is trying to access the page
- Given a user tries to delete an event using the "Delete a registration" API endpoint
- And the event does not belong to the current wiki
- Then they should receive a 4xx response with an error message similar to the one above
- And this new error should be documented on mediawiki.org
Design
Design Specs