Thread:Sam Wang/@comment-3153244-20120626214935/@comment-3153244-20120627111516

(Am I posting this to the right person?) I apologise, I should've explained myself better. I wish to incorporate the following line of code into Bloons Wiki's MediaWiki:Common.js, which I have done.

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

The reason for that line of code was because I wanted a Template:UserName which displays the viewer's username.

is the line of code which would be on the Template itself. How I know that this should work is from w:c:Avatar:Template:USERNAMEAvatar Wiki. My question/request to you is: Why doesn't this work on my wiki, when I have already incorporated the lines of code into the right pages? Help, please?