The [[https://meta.wikimedia.org/wiki/Schema:MobileWebMainMenuClickTracking| MobileWebMainMenuClickTracking schema]] does not work on desktop Minerva. It throws a client error.
Change the skin to MinervaNeue and then log out. The following error would be displayed in the Console:
` [MobileWebMainMenuClickTracking] Value null is the wrong type for property "mobileMode" (string expected)`
The schema was setup over 4 years ago and to my knowledge has not been used recently.
= Acceptance criteria
Please delete based on whether we decide to keep or throw away the schema and move to "triaged but future" for estimation.
== Option 1 - Remove the schema
[] Remove all MobileWebMainMenuClickTracking code from MobileFrontend
[] Remove all MobileWebMainMenuClickTracking code from Minerva
= Option 2 - Keep the schema but fix it to account for desktop Minerva
[] Update schema version of MobileWebMainMenuClickTracking to revision 18203509
[] Update MobileContext::getMode (resources/mobile.startup/context.js) to return "desktop" if return mw.config.get( 'wgMFMode' ) is undefined
[] Rename mobileMode field to "mode" ([[ https://meta.wikimedia.org/w/index.php?title=Schema%3AMobileWebMainMenuClickTracking&type=revision&diff=18203509&oldid=11568715 | per diff ]])
[] Consider lowering the sample rate to reduce the number of events we see.