User:Demise101/global.js

importScriptPage('DisplayClock/code.js', 'dev'); importScriptPage('PurgeButton/code.js', 'dev'); PurgeButtonText = 'Purge'; importScriptPage('AjaxBatchDelete/code.js', 'dev'); importScriptPage('BackToTopButton/code.js', 'dev'); importScriptPage( 'AjaxUndo/code.js', 'dev' ); importScriptPage('AjaxRC/code.js', 'dev');

importScriptPage( 'FastDelete/code.js', 'dev' ); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'Spam' }; fdButtons[fdButtons.length] = { 'summary': 'Unused File', 'label': 'Unused File' };

ajaxPages = ["Special:RecentChanges","Special:WikiActivity","Special:Log"];

// rewrites "Edit Text" links to "Upload File" links on Special:WantedFiles $(function {   if ("Special" == wgCanonicalNamespace && "WantedFiles" == wgCanonicalSpecialPageName) {        $('ol.special a.new').each(function { var m = $(this).attr('href').match(/title=File:([^&]+)/); if (m) { $(this).attr({                   href: '/wiki/Special:Upload?wpDestFile=' + m[1],                    title: 'Upload ' + m[1]                }); }       });    } }); /* Find and Replace- Kangaroopower */ importScriptPage('Mediawiki:FindReplace.js', 'kangaroopower');

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

};	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/1/13/Button_enter.png", "speedTip": "Line break", "tagOpen": " ", "tagClose": "", "sampleText": "", "imageId": "myEditButton-linebreak" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "Comment visible only for editors", "tagOpen": "", "sampleText": "Insert comment here", "imageId": "myEditButton-comment" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c0/Button_link.png", "speedTip": "Link Creation", "tagOpen": "",		"tagClose": "", "sampleText": " ", "imageId": "myEditButton-link" }; }