=== Background
Soon after the change for {T409965} was deployed to group1 wikis, there was a spike in validation errors on the `mediawiki.api_request` stream. In response, we (temporarily) disabled adding experiment enrollment information to the global logging context for MediaWiki Action API requests.
Why did this happen? This happened because API requests are sent as events to the stream via the Monolog logging library and we starting adding experiment enrollment information to the global logging context, which is mixed into all log lines. This information was added to the events sent to the stream, triggering a validation error.
=== AC
[] We determine if the `mediawiki.api_request` stream is required
[] The `/mediawiki/api/request/1.0.0` schema is updated to include an `context.ab_tests` property
[] We re-enable adding experiment enrollment information to the global logging context for MediaWiki Action API requests
=== Notes
1. This will happen again when another developer adds to the global logging context. The schema should be made more resilient