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 (mw.config.get("wgCanonicalSpecialPageName") == "RecentChanges") { importScriptPage('AjaxRC/code.js','dev'); }

if (mw.config.get("wgCanonicalSpecialPageName") == "Chat") { importScriptPage('MediaWiki:Chat.js/options.js','cod'); document.title = "Chat - " + wgSitename; //Thanks to Lil' Miss Rarity for helping me finish this $("textarea[name=message]").keydown(function(e) {       if (e.which == 13) {            var t = $(this).val;            var c = t.charAt(0).toUpperCase;            t = t.replace(t.charAt(0), c);            $(this).val(t);        }    }); }