MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

SpoilerAlert = { 'class': "Spoiler", };

batchDeleteDelay = 600;

importArticles({   type: "script",    articles: [        "w:c:dev:SpoilerAlert/code.2.js",        "u:dev:MediaWiki:AjaxBatchDelete/code.2.js",        "u:dev:TimedSlider/code.js",    ] });

/* Adds a JS button to the Admin Dashboard */ var editURL; $("#AdminDashboardGeneral .control-section.wiki .controls").prepend('   JavaScript');

/* Insert the Discord Widget on the and the with a  horizontal aspect */ $("#DiscordWidget .DiscWidgetHor").append(' ');

/* Insert the Discord Widget on the and the with a  vertical aspect */ $("#DiscordWidget .DiscWidgetVert").append(' ');

/* Insert the Discord Widget on the and the with a  100% size */ $("#DiscordWidget .DiscWidget").append(' ');