MediaWiki-Docker/Configuration recipes/EventLogging

Event Platform
Setting up and configuring your MediaWiki-Docker instance as below will leave you with a Wikimedia production Event Platform-like environment. You will be able to log events to a containerized EventGate instance from both MediaWiki and JavaScript. The EventGate instance will validate events against schemas fetched from https://schema.wikimedia.org.

Extensions
You need to install these extensions:


 * EventBus
 * EventStreamConfig
 * EventLogging
 * WikimediaEvents
 * WikimediaEvents is not strictly required as it contains Wikimedia-specific instruments.

i.e.

Running
You can test the above by running this in your browser's JavaScript console:

Legacy EventLogging
In the legacy EventLogging pipeline, schemas were defined and documented on metawiki. The (Modern) Event Platform supersedes the legacy EventLogging pipeline and the work to migrate legacy EventLogging schemas to the Event Platform is ongoing. However, you might still be called on to modify an instrument that uses one such schema.

Following on from the section above, setting up and configuring your MediaWiki-Docker instance as below will allow you to log events to a containerized legacy EventLogging event intake service.