User:Anemicne/global.js

/* Any JavaScript here will be loaded for all users on every page load. */ ajaxPages = ["Special:WikiActivity","Special:RecentChanges","Special:Log"]; ajaxRefresh = 20000; /* 20 seconds */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; // ***************************** // Beginning of Script importing // ***************************** importArticles({   type: "script",    articles: [        'w:c:dev:UserTags/code.js',        'w:c:dev:ExternalImageLoader/code.js',        'w:c:dev:AjaxRC/code.js'    ] }); /* Replaces with the name of the user browsing the page. Requires copying Template:USERNAME. */ $(function {   if (window.disableUsernameReplace || mw.config.get('wgUserName') === null) return;    $('span.insertusername').html(mw.config.get('wgUserName')); });