User:The vm/global.js

importScriptPage('MediaWiki:Common.js/BackToTopButton.js', 'ru.terraria');

function loadChatScripts { importArticles({   type: "script",    articles: [        "w:c:dev:ChatOptions/code.js",        "w:c:dev:ChatObject/code.js",        "w:c:d97:MediaWiki:TitleNotifications.js",        "w:c:dev:ChatOptions/code.js",        "User:Monchoman45/ChatHacks.js"    ]    }); mainRoom.maxCharacterLimit = 3000; $("#join-alert").remove; chatIsLoaded = true; } var loadedTester = setInterval(function {  if(typeof mainRoom !== "undefined") {       importScriptPage("MediaWiki:JacobsLadderSuite.js","d97"); // import the API       setTimeout(function { loadChatScripts; },500);      clearInterval(loadedTester);       console.log("[CHAT.JS] Chat.js loading complete.");   } },100);

window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: true, categoryRedlink: true, RCHeader: true, DefaultSourceMode: true, lightbox: true, randomPageLimitedTo: '', activity2RC: false, }; importScriptPage('AdvancedOasisUI/code.js', 'dev');

importArticles({   type: "script",    articles: [        'w:dev:PurgeButton/code.js',        "w:c:dev:RevealAnonIP/usercode.js",        "u:dev:SearchGoButton/code.js",        "u:dev:AjaxUndo/code.js",        "u:dev:QuickTools/code.js"    ] });