Background
Following on from T296415, we'd like to know how many users are enabling or disabling IP Info
AC
- When I enable IP Info, an event should be logged
- The event_action property should be "enable_ipinfo"
- The event_context is page and the event_source is special_preferences
- When I disable IP Info, an event should be logged
- The event_action property should be "disable_ipinfo"
- The event_context is page and the event_source is special_preferences
Notes
- See the current.yaml files in the subdirectories in https://gerrit.wikimedia.org/r/plugins/gitiles/schemas/event/secondary/+/refs/heads/master/jsonschema/analytics/mediawiki for numerous examples of JSON Schema schemas that are used in production
- wt:Event Platform/Instrumentation How To is a step-by-step guide to creating a creating a schema and validating an event with it
- https://www.mediawiki.org/wiki/MediaWiki-Docker/Configuration_recipes/EventLogging is a step-by-step guide to setting up your local development environment