mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
b356c7f134
These modules can safely be merged. Since skins.minerva.scripts.top is added via addModules to the HTML it must be marked as deprecated and remain temporarily as a redirection to skins.minerva.scripts All modules have been renamed to be in there new home - no deprecation notices are needed as they are not used outside Minerva. I leave skins.minerva.mainMenu.styles as it is used by Special:MobileMenu and needs to continue to do so. Change-Id: Ie919151630f4389f8e84e808bec003a6d3d07bd9
10 lines
334 B
JavaScript
10 lines
334 B
JavaScript
// This initialises EventLogging for main menu and some prominent links in the UI.
|
|
// This code should only be loaded on the Minerva skin, it does not apply to other skins.
|
|
( function ( M ) {
|
|
var mainMenu = M.require( 'skins.minerva.scripts/mainMenu' );
|
|
|
|
$( function () {
|
|
mainMenu.enableLogging();
|
|
} );
|
|
}( mw.mobileFrontend ) );
|