Page MenuHomePhabricator

Do not show Questions for participants section on Special:EditEventRegistration if the event has no questions enabled
Closed, ResolvedPublic

Description

Acceptance criteria:

Given that I am an organizer for an event that does not have participant questions enabled
When I go to Special:EditEventRegistration/XYZ
Then I do not see the "Questions for participants" section


We will also have to consider this for Special:EnableEventRegistration at some point too. It might make sense to do that with this ticket, but I am not sure since there is no way to disable participant questions currently.

Event Timeline

This should be easy to fix.

We will also have to consider this for Special:EnableEventRegistration at some point too. It might make sense to do that with this ticket, but I am not sure since there is no way to disable participant questions currently.

That's going to be done as part of T322209, probably.

I think this is particularly important to fix given the decision to show the clickwrap checkbox on Special:EditEventRegistration. We should not have users accept something that doesn't really work.

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

[mediawiki/extensions/CampaignEvents@master] Hide questions from registration form when editing event without questions

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

Change 966214 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Hide questions from registration form when editing event without questions

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

Given that I am an organizer for an event that does not have participant questions enabled
When I go to Special:EditEventRegistration/XYZ
✅ Then I do not see the "Questions for participants" section

Screenshot 2023-10-17 at 10.50.15 AM.png (492×2 px, 82 KB)

AC met, marking as done / resolved.