MediaWiki:Common.js

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

/* Clock */ importArticles({	type: 'script',	articles: [ 'u:dev:DisplayClock/code.js' ] });

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

/* Replaces with the name of the user browsing the page. Requires copying Template:USERNAME. */ function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace); /* End of the replacement */