User:LaVey/global.js

/* NoImageLightbox */ window.NoImageLightbox = { novideo: true }; importArticles({   type: 'script',    articles: [        'u:dev:NoImageLightbox/code.js'    ] });

/* Click to open menus on navigation bar */ $('.wds-community-header__local-navigation .wds-dropdown').click(function(e) {   var $this = $(this);    if ($this.hasClass('hovered')) return;    e.preventDefault;    $this.addClass('hovered'); }).mouseleave(function {    $(this).removeClass('hovered'); });

/* PageRenameAuto-update */ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:PageRenameAuto-update/code.js',    ] });

/* WhatLinksHere */ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WhatLinksHere/code.js',    ] });