User:Ozuzanna/global.js

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

if (wgCanonicalNamespace == "File") { importScriptPage('OldFilePages/code.js', 'dev'); }

if (wgPageName.indexOf("Special:Contributions") != -1) { importScriptPage('User:Ozuzanna/WHAM.js', 'ozank'); }

if (wgPageName === 'Special:RecentChanges') { importScriptPage('AjaxRC/code.js','dev'); }

if (wgPageName === 'Special:Chat') { importScriptPage('MediaWiki:Chat.js/options.js','cod'); document.title = "Chat - " + wgSitename; }

if (wgPageName === 'Special:Block') { $('#mw-input-wpCreateAccount').attr('checked', 'checked'); $('#mw-input-wpAutoBlock').attr('checked', 'checked'); $('#mw-input-wpHardBlock').attr('checked', 'checked'); }

//Cleanse of visual editor link addOnloadHook(function {   $('.WikiaMenuElement li a').each(function { if($(this).attr('href').indexOf('veaction') !== -1) { $(this).remove; }   }); });