Thread:Sam Wang/@comment-3153244-20120626214935/@comment-1863391-20120627124038

Try replacing if (wgUserName != 'null') { $('.insertusername').html(wgUserName); } with function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace); Be sure to purge your cache when you're done.