MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* InactiveUsers */ importScriptPage('InactiveUsers/code.js', 'dev'); InactiveUsers = {months: 2};

/* InputUsername (requires copying Template:USERNAME) */ $(function {   if (window.disableUsernameReplace || mw.config.get('wgUserName') === null) return;    $('span.insertusername').html(mw.config.get('wgUserName')); });

/* QuickDelete */ window.category = 'Candidates for deletion'; window.reason = 'Candidates for deletion';

importArticles({   type: 'script',    articles: [        'u:dev:DisplayClock/code.js',        'u:dev:QuickDelete/code.js',        'w:c:dev:RevealAnonIP/code.js',        'w:dev:WallGreetingButton/code.js',        'u:dev:BackToThread/code.js'    ] });