MediaWiki:Chat.js

// Chat options importScriptPage('ChatOptions/code.js', 'dev');

// The following code is needed to mark bureaucrats and admins from chatmoderators in special:chat // The following code is to be inserted to your wiki's Chat.js // Mark admins and bureaucrats setInterval(function {    "use strict";    $('.User.chat-mod .username').each(function  { if (this.innerHTML.match(/Yellow Flash of the Leaf|Andrew444|Steve820|Raraahahahromaromamagagaoohlala|Not David Brown|AzureAzulCrash/)) { $(this).parent.addClass('admin').removeClass('chat-mod'); }       if (this.innerHTML.match(/HypercaneTeen|CycloneRyne94/)) { $(this).parent.addClass('bureaucrat').removeClass('chat-mod'); }       if (this.innerHTML.match(/CommanderPeepers/)) { $(this).parent.addClass('rollback').removeClass('chat-mod'); }          }); }, 1);