MobileFrontend conditionally registers EventLogging code for Schema:Edit, Schema:Search and and Schema:MobileWebMainMenuClickTracking if EventLogging is installed.
This is problematic for several reasons
- creates an additional ResourceLoaderModule, increasing size of startup module
- Is not very discoverable (all other modules are defined in extension.json)
- Other extensions do not do this - they lazy load schemas via mw.loader.using (if the module doesn't exist and it fails no code is run )
QA steps
On reading web staging, Edit, Search and MobileWebMainMenuClickTracking are all enabled at 100%
Verify the following actions send events:
- Opening a link in the main menu (either in new tab or new window)
- Triggering a search
- Clicking edit
It's enough to test on one browser. We only want to verify these are still working as before.