User:Spongebob456/global.js

importScriptPage('WHAM/code.js', 'dev'); importScriptPage('User:Madnessfan34537/multikick.js', 'callofduty'); importScriptPage('User:Madnessfan34537/quickban.js', 'callofduty');

/* add history to the dropdown menu for pages */ function HistoryDropdownMenuItem { $('ul.wikia-menu-button li:first-child ul li:first-child').after('History'); } /* Auto Refresh */ AjaxRCRefreshText = 'Auto-Refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; // Skin Switch Button $( function {    if ( !document.getElementById( 'ca-skins' ) ) {        if ( skin === 'oasis' || skin === 'wikia' ) {            $('ul.tools li:first-child').before('Monobook' );        } else {            $( 'Oasis' ).appendTo( '#p-cactions > .pBody > ul' );        }    } } ); //

if (mw.config.get("wgCanonicalSpecialPageName") === "InfoboxBuilder") { var $pageName = "Template:" + mw.config.get("wgPageName").split("/")[1] + "?action=edit&useeditor=source"; window.location.href = mw.config.get("wgArticlePath").replace("$1", $pageName); }