MediaWiki:Common.js

importScriptPage('MediaWiki:ScreamerWarn.js', 'screamers'); importScriptPage('MediaWiki:Maintenance.js', 'screamers');

/* 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 */