MediaWiki:Wikia.js

$(function { var rights = {};  rights["Mckrongs"]        = ["Guildmaster"],  rights["Non-existent User"] = ["Do not remove this line"];  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 { var rights = {};  rights["PurpleIsGood"]        = ["Guildmaster"],  rights["Non-existent User"] = ["Do not remove this line"];  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 { var rights = {};  rights["Democide"]        = ["Guildmaster"],  rights["Non-existent User"] = ["Do not remove this line"];  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');   }  } });