Page MenuHomePhabricator

Redirect the user to the wiki where the event registration was created
Closed, InvalidPublic

Description

Redirect the user to the wiki where the event registration was created, in case the user is in another wiki.
This is needed for when we deploy our extension to other wikis.

Ac:

  • Participant and Organizers should be redirected when needed to the page where the event registration was created, in case they are in another wiki.
  • In case the user is being redirected to another wiki, inform the user before the redirect.

Organizer Scenarios:
Scenario 1: Organizer goes to Special:EventDetails/{id}
Given the organizer goes to Special:EventDetails/{id}
If the event is from another wiki
Then the organizer should be redirected to Special:EventDetails/{id} on the wiki where the event was created

Scenario 2: Organizer goes to Special:EditEventRegistration/{id}
Given the organizer opens Special:EditEventRegistration/{id}
If the event is from another wiki
Then the organizer should be redirected to Special:EditEventRegistration/{id} on the wiki where the event was created

Scenario 3: Organizer goes to Special:DeleteEventRegistration/{id}
Given the organizer opens Special:DeleteEventRegistration/{id}
If the event is from another wiki
Then the organizer should be redirected to Special:DeleteEventRegistration/{id} on the wiki where the event was created

Participants Scenarios
Scenario 1: Participant goes to Special:CancelEventRegistration/{id}
It does not need to be redirected to the same wiki of the event page, because this page sends the event ID, which is global, and we also use the global user ID

Scenario 2: Participant goes to Special:/Special:RegisterForEvent/{id}
It does not need to be redirected to the same wiki of the event page, because this page sends the event ID, which is global, and we also use the global user ID

Scenario 3: "View event page" button on Special:EventDetails/{id}
If the user is not in the same wiki of the event page, the user will be redirected to the event page on another wiki, the redirect is not to Special:EventDetails/{id} of the wiki where the event was created, but to the event page, because this action is to see the event page.

Screenshot 2023-09-05 at 10.39.42.png (1×1 px, 157 KB)

Event Timeline

cmelo renamed this task from [EPIC] - Redirect the user to the wiki where the event registration was created to Redirect the user to the wiki where the event registration was created.Aug 3 2023, 1:55 PM
cmelo removed a project: Epic.
cmelo moved this task from Epics - upcoming to Backlog on the Campaign-Tools board.
cmelo updated the task description. (Show Details)

@ifried Is this task still relevant? The other subtasks of T323228 should cover all these scenarios.