Page MenuHomePhabricator

Add link to the event page to the success message on Special:(Create|Edit)EventRegistration
Closed, ResolvedPublic

Description

Acceptance Criteria:

  • "...event page" text should link to event page for Special:CreateEventRegistration
  • For edit registration: Update text to read "The registration was edited. See event page." The "event page" text should be a link to the event page.

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptJun 15 2022, 3:57 PM
Daimona added subscribers: gonyeahialam, ifried.

@ifried @gonyeahialam I'm actually not sure how to proceed here. After you create or edit a registration (using Special:CreateEventRegistration or Special:EditEventRegistration, respectively), we show a success message informing the user that the registration was created/edited. You can see it in action on patchdemo. Now that we have defined event pages, I thought that the message should link to the event page, e.g.

The registration was enabled. Participants can now register on the event page.
[[Event:MyEvent|See the event page]]

At first I wanted to ask you how that message should be structured, but I just realized that I can't find a similar message in the prototype. I'm fairly sure it used to be there. Should we do something other than displaying this message?

@Daimona, you are referring to this message, right?

{F35246966}

I'm not totally clear what this ticket is supposed to be for (apologies for the confusion!), but when I get more details, Gregory and/or I can provide a response.

@Daimona, you are referring to this message, right?

{F35246966}

I'm not allowed to see this file. I think there may have been some changes with the phab upgrade yesterday. We can talk about this today.

ifried updated the task description. (Show Details)

Change 806434 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Add links to event page in success messages

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

Change 806434 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Add links to event page in success messages

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

after creating a page with Special:CreateEventRegistration the text "Registration is enabled. Participants can now register on the event page." displays, where "event page" is a link to the event page
after editing a page with Special:EditEventRegistration/{id} the text "The registration was edited. See event page." displays, where "event page" is a link to the event page

AC passes ๐Ÿ‘

I see the success message with the event page link when I test on patchdemo (see screenshot below). For this reason, I'm marking this as Done.

Screen Shot 2022-07-13 at 7.07.35 PM.png (382ร—1 px, 40 KB)