MediaWiki:Wikia.js

$(function {			$("li").click(function(open) { e.preventDefault; $("li").removeClass("selected"); $(this).addClass("selected"); });		});

function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } $( UserNameReplace );

$(function { var rights = {};

// Tags rights["Galli2001"]  = ["Founder","Bureaucrat","Admin"], rights["ApplerGamers"] = ["Bureaucrat","Admin"], rights["Bashihbk01"] = ["Bureaucrat","Admin","Main Code Editor"], rights["Coriidor5"] = ["Co-Founder","Bureaucrat","Admin"], rights["12Monster21"]  = ["Bureaucrat","Admin"], rights["TheMCGamer"] = ["Rollback"], rights["Cheese_Immortal"] = ["Rollback"]

if (typeof rights[wgTitle] != "undefined") { // remove old rights $('.UserProfileMasthead .masthead-info span.tag').remove; for (var i = 0, len = rights[wgTitle].length; i < len; i++) { // add new rights $(' ' + rights[wgTitle][i] + ' ').appendTo('.masthead-info hgroup'); }   } });

// WRITTEN BY User:Rappy_4187 function addMastheadTags { var rights = {}; // BEGIN LIST OF ACCOUNTS GIVEN EXTRA USER RIGHTS ICONS // BUREAUCRATS(BUREAUCRAT) rights["Galli2001"] = ["Bureaucrat"]; rights["Coriidor5"]      = ["Co-Founder"]; rights["ApplerGamers"]     = ["Bureaucrat"]; // ADMINISTRATORS(ADMIN) rights["-"]     = ["Admin"]; // ROLLBACKS(Rollback) rights["Cheese_Immortal"]        =["Rollback"]; rights[TheMCGamer"] = ["Rollback"];