Page MenuHomePhabricator

Implement ability for organizer to see 'enable registration' link on event page
Open, Needs TriagePublic3 Estimated Story Points

Description

As an organizer, I want the ability to enable registration on my event page at any time, so I can easily enable registration even if I clicked out of the pop-up to enable registration.

Acceptance Criteria:

  • If the organizer has created the event page (in the event namespace), they should see a button to enable registration on the event page below the title
  • The button should always be shown to the organizer (only if they have not enabled registration yet; note that they can edit or disable via 'manage registration' button in registration header)
  • The following text should be displayed to the left of the button:
    • You are an organizer.
    • Event page: Enable registration so participants can register for your event directly on the page.

Visual example:

Screenshot 2022-06-13 at 14.27.20.png (872×2 px, 449 KB)

Event Timeline

@Daimona Hello! Can you list out the alternatives for where we can place the 'enable registration' link that can be applicable to many different skins? Thank you!

@Daimona Hello! Can you list out the alternatives for where we can place the 'enable registration' link that can be applicable to many different skins? Thank you!

I don't think there's a way to inject content before (or after) the language selector in Vector 2022, although folks developing the skin would know better. The closest thing we have are page indicators, but 1) they have a different purpose, 2) controlling the order in which indicators appear could be non-trivial, 3) there's a chance of the link conflicting with other indicators. Also, indicators are shown under the page title on vector 22; they are on the same line as the title in other skins (legacy vector, monobook, timeless), and potentially elsewhere on some skins (e.g. on modern, they are in the top right corner, see here).

One possibility is to put the button where the registration header will be after the registration is enabled (i.e., inside the page content, at the top); like the "Translate this page" link here, but bigger.

There may be more options, but none of them (at least of those that I can think of) are close to the page title.

@Daimona Is this ticket no longer blocked due to T309337? Thanks in advance!

@Daimona Is this ticket no longer blocked due to T309337? Thanks in advance!

If the decision there is final (and thus that task can be closed as resolved), then yes.

@gonyeahialam: Hello! We currently need feedback on T309337 to unblock this ticket. Please check it out when you get the chance and respond to the question that I posted. Thank you!

ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)

@Daimona Hello! What number of points would you estimate this ticket as? Thanks in advance!

@Daimona Hello! What number of points would you estimate this ticket as? Thanks in advance!

Now that it's no longer a link, I'd say 3.

ifried set the point value for this task to 3.Wed, Jun 15, 7:26 PM

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

[mediawiki/extensions/CampaignEvents@master] Implement the "enable registration" header

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

Test wiki created on Patch demo by Daimona Eaytoy using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/cb1d1f656c/w/

Change 807513 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Implement the "enable registration" header

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

Test wiki on Patch demo by Daimona Eaytoy using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/cb1d1f656c/w/