MediaWiki:Common.js/insertusername.js

/* 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); }