User:Head of Ravenclaw/global.js

//Attempt to use API importScriptPage('MediaWiki:WhamAPI.js', 'monchbox'); /* Ajax RC- pcj and Grunny */ ajaxCallAgain = []; ajaxPages = ["Special:RecentChanges","Special:Log","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); /* Ajax Undo- Grunny */ importScriptPage( 'AjaxUndo/code.js', 'dev' );

//Add this to your global.js file (http://c.wikia.com/wiki/Special:MyPage/global.js) //Then, when you click the "join chat" button in the sidebar, you'll have awesome chat hacks importScriptURI('http://c.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js&action=raw&ctype=text/javascript'); //Multiple PMS 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'); }