MediaWiki:Wikia.js

importScriptPage('RelatedDiscussionsModule/code.js', 'dev');

function addMastheadTags { var rights = {}; // BEGIN List of Accounts Given Extra User Rights Icons - Must list all tags

rights["Ynkrdlevin17"] = ["President of the United States of ERBOH", "Pokemon Master"]; rights["Mrpietcaptain"] = ["Commander of the Third Reich", "Swagman"]; rights["J1coupe"] = ["Wikia Star", "Commander of the Third Reich", "The Doctor", "DigiDestined"]; rights["Meatholl"] = ["Pope Sloth", "God", "Level 72 Paladin", "Mr. Professor Professor", "Certified Lightbulb Screwer"]; rights["Loygansono55"] = ["Commander of the Third Reich", "EpicLLOYG", "Edgar Allan Poe x Carl Grimes", "Kigt", "Froyg", "Ligy"]; rights["DudeWithASuit"] = ["Administrator"]; rights["Scrawland Scribblescratch"] = ["War Doctor", "Grandmaster"]; rights["WonderPikachu12"] = ["Rollback", "Rap Mod", "TDERB Writer"]; rights["Wachowman"] = ["Rap Mod", "Macho Man"]; rights["BackToTheFuturama86"] = ["Rollback", "Rap Mod"]; rights["Mystical Trixter"] = ["Rap Mod", "Daughter of Sparda", "Global Saturation"]; rights["ShoopDaKev"] = ["Ex-KGB", "Deadpool"]; rights["Captain Warrior"] = ["Iron Man"]; rights["JPhil2.0"] = ["Sci Fi Aficionado", "International Man of Mystery"]; rights["TheSteelerNation2"] = ["Commander of the Third Reich"]; rights["Hoagy"] = ["Ex-KGB"]; rights["Intrudgero98"] = ["Ex-KGB"]; rights["MrAwesome300"] = ["Ex-KGB", "Knucklehead McSpazatron"]; rights["AnimaShaun"] = ["Ex-KGB"]; rights["YouTubeKorea"] = ["The Raggedy Man", "Asian Matt Smith"]; rights["Ximena 13"] = ["Ex-KGB", "Invader Xim"]; rights["Minipop56"] = ["Mathematician"]; rights["Patts9009"] = ["Ex-KGB"]; rights["TKandMit"] = ["Poerat", "DJ Mitosis"]; rights["Tigerisnormal"] = ["Tigger"]; rights["Bluesocks"] = ["Rap Mod", "ERB Creator",]; rights["TheEpicLLOYD"] = ["Rap Mod", "ERB Creator"]; rights["NightFalcon9004"] = ["Kira"]; rights["Epicnail"] = ["Rap Mod", "Nail"]; rights["Tovorok"] = ["Professor"]; rights["Silent Mocker"] = ["Mocker Bird"]; rights["Awesomesix"] = ["TDERB Writer"]; rights["Tesla Man"] = ["Impeccably Dressed"]; rights["MetalFire"] = ["Chat-Maud"]; rights["Bobdave"] = ["Hey Jude"]; rights["BreZ"] = ["Lion King"]; rights["Andrew0218"] = ["Davy"]; rights["Tkid115"] = ["Assassin-pool", "Night-Shift"]; rights["RazzyRaven"] = ["Master Yee", "The Razmanian Rebel"]; rights["Joeaikman"] = ["User of Fiction"]; rights["ProbablyNoah"] = ["Psycho"]; rights["Bantha117"] = ["Rap Mod"]; rights["Tesla D"] = ["ERB Mod", "Give me motion"]; rights["Betette"] = ["ERB Writer"]; // 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;  } });

importScriptPage("User:Madnessfan34537/multikick.js","cod")