User:Ozuzanna/global.js

cacheSkip = []; cacheSkipLimit = 1000; importArticles({   type: "script",    articles: [        'u:dev:AjaxBatchDelete/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:CacheCheck/code.js',        'u:dev:CategoryRenameAuto-update/code.js',        'u:dev:NoImageLightbox/code.js',        'u:dev:NullEditButton/code.js',        'u:dev:OldFilePages/code.js'    ] });

//Use Special:Nuke on Central instead if (wgSiteName != "Community Central" && wgSiteName != "Wikianswers" && wgUserGroups.indexOf('sysop') != -1) { importScriptPage('WHAM/code.js', 'dev'); }

//Add quick link to IP location lookup for anon contributors if (mw.config.get("wgCanonicalSpecialPageName") === "Contributions" && ($('a:contains("Why create an account?")').length == 1)) { $('.masthead-info').find('h2').html(" (Lookup)"); }

// Written by Shining-Armor

var specialpages = [ "Special:BrokenRedirects", "Special:DoubleRedirects", "Special:DeadendPages", "Special:BrokenRedirects", "Special:LonelyPages", "Special:UnusedTemplates" ]; if (specialpages.indexOf(wgPageName) !== -1) { $('#WikiaArticle').prepend(' '); $('ol.special').find('li').each(function {       var text = $(this).find('a').first.text;        document.getElementById('output-box').value += text + '\n';    }); }

//($('span:contains("(VisualEditor)")').remove)