MediaWiki:Wikia.js

// BEGIN CREATING ADDITIONAL USER RIGHTS ICONS FOR PROFILEMASTHEADS function addMastheadTags { var rights = {}; // BEGIN List of Accounts Given Extra User Rights Icons rights["Ryuzakiforever"]           = ["probably naked"]; rights["Calua"]                    = ["Witch"]; rights["The Humaniod Typhoon"]     = ["Bitch"]; rights["Uknownada"]                = ["Itch"]; // 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 //

/** * DHTML Snowstorm! JavaScript-based Snow for web pages * * Version 1.44.20131111 (Previous rev: 1.43.20111201) * Copyright (c) 2007, Scott Schiller. All rights reserved. * Code provided under the BSD License: * http://schillmania.com/projects/snowstorm/license.txt */