MediaWiki:Chat.js

//Chat's topic. Remember to escape single quotes in the topic using \' to prevent this from breaking. var chatTopic = 'Welcome to the RuneScape Wiki chat. Please read the chat\'s rules here. For more information about the chat, click here.' $(function {	$('#ChatHeader .public.wordmark').prepend(''+chatTopic+' ')	.find('a').attr('style','position:relative;text-decoration:underline;') }) $('#ChatHeader .public.wordmark div:not(:first-child)').remove

/* Creating /me command */ document.getElementsByName('message')[0].onkeypress = function(e) { if (e.which == 32) { if (this.value == '/me') { this.value = '* '+wgUserName; }	} }

/* Tab Insert */ importScript('User:Joeytje50/tabinsert.js')

/* Rate Limit */ importScript('User:Joeytje50/ratelimit.js')

/*Adding Quick Chat thing per discussion in Chat*/ importScript('User:Joeytje50/qc.js')