User:Dzylon-fduser/global.js

// IMPORTS // importScriptPage('Mediawiki:FindReplace.js','kangaroopower'); // importScriptPage('Client.js', 'wikimarks') importScriptPage('User:Monchoman45/ChatHacks.js', 'community'); importScriptPage('SearchGoButton/code.js', 'dev');

// EDITOR BUTTONS if ( mwCustomEditButtons ) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/statequartersprogram/images/0/06/Tb.png", "speedTip": "Talkback", "tagOpen": "==Re:", "tagClose": "==\r", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/statequartersprogram/images/a/a3/Gallery.png", "speedTip": "Gallery", "tagOpen": "==Gallery==\r", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/statequartersprogram/images/e/e2/Ri.png", "speedTip": "Reset Indent", "tagOpen": "┌─────", "tagClose": "─────┘", "sampleText": ""}; }

// LIGHTBOX CIRCUMVENTION if (skin == 'oasis') { $('.image').each(function {       $(this).attr('href', wgServer + wgArticlePath.replace('$1', 'File:' + encodeURIComponent( $(this).attr('data-image-name') ) ) );    }); if (LightboxLoader.handleClick) { delete LightboxLoader.handleClick; } }

// FAST DELETE importScriptPage('FastDelete/code.js', 'dev'); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'd'};