Board Thread:Support Requests - Getting Technical/@comment-31402001-20140220155210/@comment-366087-20140220161207

This requires jscript support. So first, add to your MediaWiki:Common.js /** * Replaces with the name of the user browsing the page. * For usage with Template:USERNAME. */ $(function {    $('.insertusername').html(mediaWiki.config.get("wgUserName")); }); Then make a new page Template:USERNAME and add One thing: be sure where you place it, it is meant for the *visitor* to that page. I say this because I have seen it misused being positioned as meant for a *specific user*, for example as a variable in Welcome Messages, but instead it returns the name of whomever is visiting that page. It of course works for the intended recipient when *they* visit the page, but each visitor sees their name as well.