User:Ozuzanna/global.js

cacheSkip = []; cacheSkipLimit = 1000; importArticles({   type: "script",    articles: [        'u:dev:AjaxBatchDelete/code.js',        'u:dev:AjaxUndo/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'); }

//For use on VSTF wiki when adding users/wikis to their respective report pages if ((wgSiteName == "VSTF Wiki") && (wgAction == "edit" || wgAction == "submit")) { if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/callofduty4s/images/4/41/Scootaloo.png", "speedTip": "Spam wiki", "tagOpen": "{"+"{badwiki||Spam}}", "tagClose": "", "sampleText": ""}; }  if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://i.imgur.com/VcF1YAA.png", "speedTip": "Spam user", "tagOpen": "{"+"{User-lookup|}}", "tagClose": "", "sampleText": ""}; } }