mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/initLogging.js

9 lines
340 B
JavaScript
Raw Normal View History

// 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.
// @deprecated and to be removed the moment that T220016 is live.
var mainMenu = require( './menu.js' );
module.exports = function () {
mainMenu.enableLogging();
};