User:Remnant13/global.js

/* Fixed Chat Hacks */ importScriptPage('User:Foodbandlt/FixedChatHacks.js', 'c');

/* PMs button */ if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Enter comma separated list of users to start a PM with',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('Group'); }

/* BackToTopButton */ importScriptPage('BackToTopButton/code.js', 'dev'); /* InactiveUsers */ importScriptPage('InactiveUsers/code.js', 'dev');

// http://dev.wikia.com/wiki/RevealAnonIP importScriptPage('RevealAnonIP/code.js', 'dev');

importScriptPage('AjaxRC/code.js', 'dev'); function AddRecentChanges { $('div.buttons').css({'width': '310px'}); $('a[data-id="wikiactivity"]').after('Recent Changes'); } addOnloadHook(AddRecentChanges); /* Auto Refresh */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev');