Extension:EventLogging/Events

Any code logging an event must declare a schema for it, see m:Special:PrefixIndex/Schema: for a list.

Client-side events
Several extensions are logging client-side events using this extension's  JavaScript function: the "Create account" form, Getting started, mobile events, ...

Register the version of schema you are logging against
This is done here in the MobileFrontend https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/master/includes/MobileFrontend.hooks.php#L865

Other schemas appear here:

https://github.com/wikimedia/mediawiki-extensions-WikimediaEvents/blob/master/WikimediaEvents.php

Server-side events
Several extensions log events on the server using : Campaigns, CentralAuth, MobileFrontend, WikimediaEvents, etc.