MediaWiki:ChatTopic.js

// Chat header

siteUrl = wgServer.slice(7,-10);

var chatTopic = ' chat rules •  recent changes •  emoticons •  chattags •  my page • <img src="https://images.wikia.nocookie.net/__cb20140914153817/d97/images/8/89/Icon_refresh.png" height="12px" class="chattopic-icon" /> refresh</a>' $(function {	$('#ChatHeader .public.wordmark').prepend(' '+chatTopic+' ')	.find('a').attr('style','position:relative;color:#337800;') }) $('#ChatHeader .public.wordmark div:not(:first-child)').remove

console.log("Chat header initialized."); // END Chat header