User:Suzon/global.js

/* Monchomans chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); /* Change "A Wikia contributor" to IP address*/ importScriptPage('MediaWiki:Common.js/ipAnon.js', 'admintools'); /*Custom Edit buttons- (The help page) */ importScriptPage('User:Kangaroopower/global.js/editbuttons.js', 'c'); /* Add a clock to the wiki header */ importScriptPage('MediaWiki:Common.js/displayTimer.js', 'c'); /* Auto-refresh the Recentchanges and Wikiactivity; copied from Avatar Wiki's */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev');

/*ChatPMs*/ if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Enter comma seperated list of users to start a PM with',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('PM'); } (function {	if (skin == "oasis" || skin == "wikia") {		if (wgNamespaceNumber == 0 && wgTitle !== "Avatar Wiki") {			$('a.wikia-button.comments.secondary').after('Talk');