As an organizer, I only users who go to Special:RegisterForEvent for my event (but on a wiki that is not the event wiki) to be redirected to the wiki of the event, so that users who are blocked on the local wiki of the event cannot register for the event.
Acceptance Criteria:
- Given a user goes to Special:RegisterForEvent/{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 complete your event registration on [wiki name], the wiki where the event was created."
- Hyperlink to the proper wiki Special:RegisterForEvent/{eventID} on the following text: "complete 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:RegisterForEvent/{eventID} on the following text: "complete your event registration on [wiki name]"
- Then we display the following text: "Please complete 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 register using the "Register for event" 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