User:Winter7073/wikia.js

function addMastheadTags { var rights = {}; // BEGIN List of Accounts Given Extra User Rights Icons

rights["PhilippL"]               = ["User"];

// 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 //

$("ul.tools li:first-child").before("Uncategorized Files");

importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/lllioliol/images/e/e1/Userpageimage.png/revision/latest?cb=20150908185840", "speedTip": "Userpageimage", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/central/images/4/40/ButtonEditText2583.jpeg/revision/latest?cb=20151025001506", "speedTip": "Userpageimage Text", "tagOpen": "Userpageimage", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/lllioliol/images/a/a5/WikiaScreenshot.png/revision/latest?cb=20150908185840", "speedTip": "Wikia-screenshot", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/central/images/0/0a/WikiaScreenshotTextIcon.png/revision/latest?cb=20151123170004", "speedTip": "Wikia-screenshot Text", "tagOpen": "Wikia-screenshot", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette3.wikia.nocookie.net/central/images/d/d8/StaffImageIcon.png/revision/latest?cb=20151123170036", "speedTip": "StaffImage", "tagOpen": "", "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/central/images/d/d8/StaffImageTextIcon.png/revision/latest?cb=20151123170110", "speedTip": "StaffImage Text", "tagOpen": "StaffImage", "tagClose": "", "sampleText": ""};

}  mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/lllioliol/images/b/be/Threadimage.png/revision/latest?cb=20151220131555", "speedTip": "Threadimage", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette3.wikia.nocookie.net/lllioliol/images/2/29/Helpimage.png/revision/latest?cb=20160203132543", "speedTip": "Helpimage", "tagOpen": "", "tagClose": "", "sampleText": ""};

$(".user-menu.subnav.global-nav-dropdown").append("Recent Changes");