MediaWiki:Wikia.js/userRightsIcons.js

// BEGIN List of Accounts Given Extra User Rights Icons // BUREAUCRATS rights["ClericofMadness"]    = ["Responsible For All Your Nightmares"], // ADMINS rights["Shining-Armor"]    = ["Admin","MediaWiki"]; rights["Furbearingbrick"]    = ["Admin"]; rights["Weirdozzy"]    = ["Admin"]; rights["AlixeTiir"]    = ["Admin"]; rights["BenNasty"]    = [Admin"];    rights["Bushcraft Medic"]     = ["Admin"];    rights["MooseJuice"]     = ["Admin"];    rights["Mr.Zalgopasta"]     =["Admin"];    rights["ObliterationoftheSelf"]     = ["Admin"];    rights["RobotofMadness"]     = ["Admin","Bot"];    rights["Shinigami.Eyes"]     = ["Admin"];    rights["Sloshedtrain"]     = ["Admin","Rollback"];    rights["StabbyStab"]     = ["Admin"];    rights["XanCrews"]      = ["Admin"];   // ROLLBACKS   // HA    rights["Business Cat"]           = ["Chat Moderator"],    rights["Dream Hacked"]          = ["Chat Moderator"],  // END List of Accounts Given Extra User Rights Icons  // BEGIN Script to Remove Old Rights Icons & Insert New    if (wgCanonicalSpecialPageName == "Contributions") {      var user = wgPageName.substring(wgPageName.lastIndexOf("/")+1).replace(/_/g," ");    } else { var user = wgTitle; }    if (typeof rights[user] != "undefined") { // remove old rights $('.UserProfileMasthead .masthead-info span.tag').remove; for( var i=0, len=rights[user].length; i < len; i++) { // add new rights $('' + rights[user][i] +         ' ').appendTo('.masthead-info hgroup'); }   }  // END Script to Remove Old Rights Icons & Insert New }; $(function { if ($('#UserProfileMasthead')) {    addMastheadTags;  } }); // END CREATING ADDITIONAL USER RIGHTS ICONS FOR PROFILEMASTHEADS //