FANDOM


Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Chrome - Windows: Hold the Ctrl key and press the F5 key. OS X: Hold both the ⌘ Cmd and ⇧ Shift keys and press the R key.
  • Safari - Hold down the ⇧ Shift key and click the Reload toolbar button.
  • Firefox - Windows: Hold the Ctrl key, and press F5. OS X: Hold the ⌘ Cmd and ⇧ Shift keys, and then press R.
  • Internet Explorer - Hold the Ctrl key, and press F5 (or click the Refresh button).
//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.<br /><a href="wiki/RuneScape:Chat" target="_blank" title="RuneScape:Chat" style="position:relative;text-decoration:underline;">Rules</a> • <a href="wiki/RuneScape:Chat/Help" target="_blank" title="RuneScape:Chat/Help" style="position:relative;text-decoration:underline;">Information</a> • <a href="wiki/RuneScape:Chat/Reports" target="_blank" title="Chat" style="position:relative;text-decoration:underline;">Report a user</a> • <a href="wiki/RuneScape:Chat/Logs" target="_blank" title="RuneScape:Chat/Logs" style="position:relative;text-decoration:underline;">Logs</a>'
 
$(function() {
	$('#ChatHeader .public.wordmark').prepend('<div class="chattopic" style="text-align:center; position:absolute; width:70%; z-index:0; font-size: 13px; color:#3A3A3A; font-weight:bold; line-height:1.6; margin-left:110px;">'+chatTopic+'</div>')
	.find('a').attr('style','position:relative;text-decoration:underline;')
})
$('#ChatHeader .public.wordmark div:not(:first-child)').remove()
 
// END Chat topic
 
/* Creating /me command */
document.getElementsByName('message')[0].onkeypress = function(e) {
	if (e.which == 32) {
		if (this.value == '/me') {
			this.value = '* '+wgUserName;
		}
	}
}
 
/* Tab Insert */
importScript('MediaWiki:Chat.js/tabinsert.js')
 
/* Rate Limit */
importScript('MediaWiki:Chat.js/ratelimit.js')