User:Densake/global.js

window.CustomTools = [ {		link: 'https://community.fandom.com/wiki/User:Densake/global.css', placement: 'wiki-tools-dropdown', position: -1, text: 'Global CSS' },	{		link: 'https://community.fandom.com/wiki/User:Densake/global.js', placement: 'wiki-tools-dropdown', position: -1, text: 'Global JS' }, ];

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:LastEdited/code.js',        /* Displays last edited message at top of page */        'u:dev:MediaWiki:CustomTools.js',        /* Custom tools link: https://dev.fandom.com/wiki/CustomTools */    ] }); /* Configuration for Last Edited Module */ window.lastEdited = { avatar: false, size: false, diff: false, comment: false, newpage: false, mainpage: false, time: 'timestamp', };

$(function {	if (mw.config.get('skin') !== 'fandomdesktop' || window.CollapsiblePageToolsLoaded) return;	window.CollapsiblePageToolsLoaded = true; 	var doCollapse = !(window.CollapsiblePageToolsCollapsed === false),		interval;	interval = setInterval(function { if ($('.WikiaRail .sticky-modules-wrapper').children.length) { if (!$('.page-tools-module').length) return; clearInterval(interval); var panel = $(' '); $(' ').append(				$('.global-footer__section-site-overview .global-footer__section-header'), 				$(' ')			).appendTo(panel); $('.global-footer__section-site-overview .global-footer__links').addClass('wds-collapsible-panel__content').appendTo(panel); $('.global-footer__section-site-overview').empty.append(panel); }	}, 100); });