MediaWiki:Chat.js

//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:Head_of_Ravenclaw/HacksTest.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('Multi-PM'); }

//Chat's topic. Remember to escape single quotes in the topic using \' to prevent this from breaking. var chatTopic = 'Welcome. Our chat policy can be found  here ' $(function {	$('#ChatHeader .public.wordmark').prepend(''+chatTopic+' ')	.find('a').attr('style','position:relative;text-decoration:underline;') }) $('#ChatHeader .public.wordmark div:not(:first-child)').remove