MediaWiki:Chat.js

/* Chat Options - Dev */ importScriptPage('ChatOptions/code.js', 'dev');

/* Chat Party - by ShermanTheMythran */ var partyLink1 = "http://images.wikia.com/lmbtest/images/c/c3/Troublemaker.ogg"; //link to first song in ogg

var partyLinkIE1 = "http://k007.kiwi6.com/hotlink/b03m0jweud/troublemaker.mp3"; //link to first song in mp3

var partyLinkText1 = "Troublemaker - Olly Murs"; //text for first song

var partyLink2 = "http://images.wikia.com/lmbtest/images/7/7d/Viva_La_Vida.ogg"; //link to second song in ogg

var partyLinkIE2 = "http://k007.kiwi6.com/hotlink/1q82nrxp54/viva_la_vida.mp3"; //link to second song in mp3

var partyLinkText2 = "Viva La Vida - Coldplay"; //text for second song

var partyLink3 = "http://images.wikia.com/lmbtest/images/7/71/Blastoff.ogg"; //link to third song in ogg

var partyLinkIE3 = "http://k007.kiwi6.com/hotlink/o7l4fk9hm5/blastoff.mp3"; //link to third song in ogg

var partyLinkText3 = "Blastoff - The Deviled Eggs"; //text for third song

importScriptPage('MediaWiki:ChatParty.js','lmbtest');

/* Chat Skins - by Seaside98 */ importScriptPage('MediaWiki:ChatSkins.js','lmbtest');

/* Remove Blocked Words and Spam Filter - by Seaside98 */ function emoteFix(chat) { $('.message').each(function{$(this).children('img:gt(4)').remove}); if (mainRoom.userMain.attributes.isModerator == false) { $('.message img[src="http://images2.wikia.nocookie.net/legomessageboards/images/0/0c/Yellow_X.png"], .message img[src="http://images2.wikia.nocookie.net/legomessageboards/images/7/72/Red_X_Face.jpg"]').remove; } } mainRoom.model.chats.bind('afteradd', emoteFix);

/* Just testing something - By Swipe */

$('li[data-user="Malc."] .username').text('Agent Swipe');