User:Demise101/global.js

importScriptPage( 'FastDelete/code.js', 'dev' ); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'Spam' }; fdButtons[fdButtons.length] = { 'summary': 'Unused File', 'label': 'Unused File' }; importScriptPage('AjaxRC/code.js', 'dev'); ajaxPages = ["Special:RecentChanges","Special:WikiActivity","Special:Log"]; importScriptPage('DisplayClock/code.js', 'dev'); PurgeButtonText = 'Purge'; importScriptPage('PurgeButton/code.js', 'dev'); importScriptPage('AjaxBatchDelete/code.js', 'dev'); importScriptPage('BackToTopButton/code.js', 'dev'); importScriptPage( 'AjaxUndo/code.js', 'dev' ); // 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]                }); }       });    } });