User:UltimateSupreme/global.js

if ( ( skin === "oasis" || skin === "wikia" )&& wgAction !== "edit" ) { importStylesheetPage("User:Dantman/global.css", "community"); jQuery(function($) { $ ( ' Recent Changes' ) . insertAfter ( "#WikiHeader .buttons .wikia-button[data-id=wikiactivity]" ) . before ( ' ' ) ;    }); } /* Custom edit buttons* Original by User:Grunny*/ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/7/73/Button_code_nowiki.png?1", "speedTip": "code nowiki", "tagOpen": " ", "sampleText": "Insert code here" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/2/29/Button_user.png?1", "speedTip": "Global user template", "tagOpen": "", "tagClose": "", "sampleText": "" }; }

/** * Add stuff to user menu */ $(function { $ ( 'ul.AccountNavigation li:first-child ul.subnav li:first-child' ) . after ( 'ContributionsFollowed pages' ) ; }); importScriptPage('NoImageLightbox/code.js', 'dev'); importScriptPage('FixWantedFiles/code.js', 'dev'); importScriptPage('PurgeButton/code.js', 'dev' ); importScriptPage('InactiveUsers/code.js', 'dev'); importScriptPage('AjaxBatchDelete/code.js', 'dev');

/** * Auto updating recent changes opt-in * See w:c:dev:AjaxRC for info & attribution */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; importScriptPage('AjaxRC/code.js', 'dev');