MediaWiki:Common.js/username.js

/* Any JavaScript here will be loaded for all users on every page load. */ $(function{if($(".insertusername").length){$(".insertusername").text(mw.config.get('wgUserName'));}})