User:Caoil-fduser/global.js

/* Monchomans chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

/* Change "A Wikia contributor" to IP address*/ importScriptPage('MediaWiki:Common.js/ipAnon.js', 'admintools');

/*Custom Edit buttons*/ 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*/ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); /* add contribs to user menu*/ function UserContribsMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('Contributions'); } addOnloadHook(UserContribsMenuItem);

importScriptPage('User:Universalguardian1003/global.js', 'c');

/* get all personal code files in chat */ $(setTimeout('ChatCheck', 200)); function ChatCheck { if($('.chat-join button').length != 0) { $('.chat-join button').replaceWith('Join the Chat'); } else { setTimeout('ChatCheck', 200); } } function OpenChatWindow { window.chatwindow = window.open('/wiki/Special:Chat'); window.chatwindow.onload = function {window.chatwindow.$('body').prepend(' /*<![CDATA[*/@import "http://community.wikia.com/index.php?title=User:' + wgUserName + '/global.css";/*]]>*/ /*<![CDATA[*/@import "' + wgServer + '/index.php?title=User:' + wgUserName + '/wikia.css";/*]]>*/ ');} }