MediaWiki:Common.js/insertusername.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* Username replace feature * Inserts viewing user's name into * Put text inside the spans to be viewed by logged out users * Originally by Splarka, then by Spang, * This (jQuery) version by wikia:User:Joeyaa, written to be backwards compatible */

if (wgUserName != 'null') { $('.insertusername').html(wgUserName); }