Template:USERNAME

/** * Replaces with the name of the user browsing the page. * Requires copying Template:USERNAME. */

$(function {   if ( window.disableUsernameReplace || mw.config.get('wgUserName') === null ) { return; }    $('span.insertusername').html(mw.config.get('wgUserName')); });