mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/menu
Nicholas Ray 517e4f537a Add amc boolean to MobileWebMainMenuClickTracking sampling
Now that we can determine client side whether or not a user is in AMC
mode from Ie000fc8f938a76d10c2566f17f933cef40aa1665, let's add this data
to MobileWebMainMenuClickTracking sampling. Per T218627, if the user has
amc enabled, the sampling rate will be 100%. If not, the sampling rate
will follow wgMinervaSchemaMainMenuClickTrackingSampleRate.

Additional changes:

* Removes an outdated comment at top of schema.js (this has already been
moved)

* Corrects jsdoc comment for defaults.mode

* Updates EventLoggingSchemas entry for MobileWebMainMenuClickTracking
in skin.json to accommodate new amc field.

Depends-On: Ie000fc8f938a76d10c2566f17f933cef40aa1665
Bug: T218627
Change-Id: I950a6efd1040c3a270d09bff298ee1781a010328
2019-04-01 17:39:16 -06:00
..
MainMenu.js Avoid deprecated View.$ 2019-02-15 19:04:11 +00:00
menu.mustache Merge skins.minerva.scripts.top and skins.minerva.mainMenu into scripts 2019-02-07 18:10:15 -08:00
menuGroup.mustache Merge skins.minerva.scripts.top and skins.minerva.mainMenu into scripts 2019-02-07 18:10:15 -08:00
schema.js Add amc boolean to MobileWebMainMenuClickTracking sampling 2019-04-01 17:39:16 -06:00