User:Dser/global.js

// Imports

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

importScriptPage('User:Joeytje50/ChatPMs.js', 'community');

var AdvancedOasisUIConfig = { accountNavFollowedPages: false, accountNavWatchlist: false, categoryRedlink: true, RCHeader: false, lightbox: true, randomPageLimitedTo: "", userLang: true, }; importScriptPage('AdvancedOasisUI/code.js', 'dev');

// Custom buttons if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/common/__cb41319/skins/common/images/button_sig.png", "speedTip": "Signature timestamp", "tagOpen": "--", "sampleText": ""}; }

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",    "tagClose": "", "sampleText": "Insert text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png", "speedTip": "Strike", "tagOpen": " ", "tagClose": " ", "sampleText": "Strike-through text"}; }

// Removing extra "Add a Page" buttons var buttonModule = document.getElementsByClassName('.WikiaPagesOnWikiModule .wikia-button.createpage'); if(buttonModule !== null) { $('.WikiaActivityModule .wikia-button.createpage').remove; }

// WantedFiles fix (by Fandyllic) function ImgDescEditLink2ImgLink { $('ol.special > li > a.new').each(function {   this.setAttribute("href", this.getAttribute("href").replace(/\&action\=edit/, ""));  }); } addOnloadHook(ImgDescEditLink2ImgLink);