=== [[ https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment | Checklist ]] ===
Note that some items were already completed for T318592 and are skipped here.
[x] Passed reviews:
** [x] Security - T290248
** [x] Database - T318593
** [x] Performance - T302858
[] Create the schema
** [x] Schedule a dedicated window that does not conflict with other deployments - [[https://wikitech.wikimedia.org/w/index.php?title=Deployments&diff=prev&oldid=2033104 | diff ]]
** [] Actually create the schema: `mwscript sql.php --wiki=metawiki --cluster=extension1 --wikidb=wikishared /srv/mediawiki/php-1.40.0-wmf.11/extensions/CampaignEvents/db_patches/mysql/tables-generated.sql`
[x] Write config patches
** [x] Configure meta to use the wikishared DB
** [x] Enable the extension on meta
[x] Schedule the config patches for deployment - [[https://wikitech.wikimedia.org/w/index.php?title=Deployments&diff=prev&oldid=2033423 | diff ]]
[] Announce in [[https://meta.wikimedia.org/wiki/Tech/News | Tech News ]] (mention who will have access, how to test etc.)
[] DEPLOY TEH THING
[] Add meta to the timezone script cron (T320403)
===Acceptance Criteria===
* Enable the CampaignEvents extension on Meta-wiki
* Test for the following basic actions:
** Any user can create an event page in the event namespace
** Organizers are a configurable user group
** Only organizers who created an event page can enable registration
** Organizer can specify event date, time, time zone, location, video conference link, chat group link
** Organizer should see information at bottom of configuration form on what data is collected on participants and, if on a WMF project, reminder of WMF youth safety policy
** Time zone of event is displayed as follows:
*** In person: as specified by organizer
** Online & hybrid: time zone preference for logged in user, wiki default for logged out users
* Organizer can edit registration information
* Organizer can disable registration
** Participant can join event by clicking on the 'Register' button
** Participant must agree to terms of use and privacy policy (if on a WMF project)
** Participant can choose between public and private registration
** Visibility rules are as follows:
*** Organizer can see list of all participants
*** Participants can see their registration info and public participants
*** General users can see list of public participants
** Confirmation email should be sent to participants after registering for event if:
*** They have email address associated with their account
*** They have not opted out of email communication via Preferences