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": "==Usage==\n", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/lllioliol/images/4/40/ButtonEditText2583.jpeg/revision/latest?cb=20160514142106", "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": "==Licensing==\n", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/lllioliol/images/0/0a/WikiaScreenshotTextIcon.png/revision/latest?cb=20160514142107", "speedTip": "Wikia-screenshot Text", "tagOpen": "Wikia-screenshot", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette3.wikia.nocookie.net/lllioliol/images/d/d8/StaffImageIcon.png/revision/latest?cb=20160514142106", "speedTip": "StaffImage", "tagOpen": "==Licensing==\n", "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/lllioliol/images/d/d8/StaffImageTextIcon.png/revision/latest?cb=20160514142106", "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": "==Usage==\n", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/lllioliol/images/5/53/ThreadImageText.png/revision/latest?cb=20160514142433", "speedTip": "Threadimage Text", "tagOpen": "Threadimage", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette4.wikia.nocookie.net/lllioliol/images/6/6a/Templateimage.png/revision/latest?cb=20160514142519", "speedTip": "Templateimage", "tagOpen": "==Usage==\n", "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/lllioliol/images/0/02/Templateimagetext.png/revision/latest?cb=20160514142633", "speedTip": "Templateimage Text", "tagOpen": "Templateimage", "tagClose": "", "sampleText": ""};

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