Context
The code for debug mode is currently loaded on all pages but is enabled by a hidden user preference, which can be toggled by typing the following incantation in your browser's console:
new mw.Api().saveOption('eventlogging-display-web', '1')
User Story
As an experimenter (engineer, analyst, PO)
I want to see EventLogging events that are being sent in the MediaWiki UI
So that I can verify that they are correct with ease
Acceptance Criteria
- The user preference that toggles debug mode is visible to users with the appropriate user right; otherwise, it's hidden
Notes
- For the curious, here's a screencap of what EventLogging's debug mode looks like: