MediaWiki:Wikia.js

function addMastheadTags { var rights = {};

// BEGIN LIST OF ACCOUNTS GIVEN EXTRA USER RIGHTS ICONS

// BUREAUCRATS rights["Amrsatrio"]  = ["Bureaucrat"], rights["Gaspathebest"]  = ["Bureaucrat"], rights["Keplers"]       = ["Bureaucrat"] // ADMINISTRATORS rights["Amwl415"] = ["Admin"], rights["Bashihbk01"] = ["Admin"], rights["Minja536"] = ["Admin"] // CHATMODS rights["Arctic Blue"]  = ["Chat Moderator"], rights["Cheese Ausar"] = ["Chat Moderator"], rights["Feedback13"] = ["Chat Moderator"], rights["TheNerfNut"] = ["Chat Moderator"]

// END LIST OF ACCOUNTS GIVEN EXTRA USER RIGHTS ICONS

if (wgCanonicalSpecialPageName == "Contributions") { var user = wgPageName.substring(wgPageName.lastIndexOf("/")+1).replace(/_/g," "); } else { var user = wgTitle; } if (typeof rights[user] != "undefined") { $('.UserProfileMasthead .masthead-info span.tag').remove; for( var i=0, len=rights[user].length; i < len; i++) { $('' + rights[user][i] +         ' ').appendTo('.masthead-info hgroup'); }   } }; /* $(function {  if ($('#UserProfileMasthead')) {    addMastheadTags;  } });