User:Undead.exe/Clickusername.js

// Changes anything with class "clickusername" to username of viewer on click $( '.clickusername' ).on( 'click', function {    if ( mw.config.get( 'wgUserName' ) ) {        $( this ).html( mw.config.get( 'wgUserName' ) );    } } );