MediaWiki:Chat.js

/** * Clear chat */ function addClearChatText { "use strict"; if ($('.clearChatText').length <= 0) { var clearChatText = document.createElement('span'); $('Clear chat ').prependTo('.Rail'); } } function clearChat { "use strict"; var chatSize = $('div.Chat:first ul li').size - 1; $('.Chat:first li:lt(' + chatSize + ')').remove; } window.onload = addClearChatText; /** * Chat options *  By User:Callofduty4, User:Madnessfan34537, and User:Sactage *  From the Call of Duty Wiki */ var chatOptionsLoaded = false; if (!chatOptionsLoaded) { chatOptionsLoaded = true; importScriptPage('MediaWiki:Chat.js/options.js', 'cod'); } /** * ChatTags *  By User:AnimatedCartoons */ importScriptPage('ChatTags/code.js', 'dev');

importScriptPage( 'ChatObject/code.js', 'dev' );

// hi Chat.colorSchemeOne ({ chatBackground: '#9fd1f2', pageBackground: '#73a9cc', textColor: '#103249' });

importArticles( {   type: 'script',    articles: [        // ...        'u:dev:!mods/code.js',        // ...    ] } );