Thread:Tupka217/@comment-16922870-20140621190128/@comment-5448890-20140621195607

OK, Ok. I think I found the problem. You see, my home wiki (their username template works) has a different code. So replace everything below InactiveUsers { } with this:

/*Special tool for the USERNAME template.*/ /* Replaces with the name of the user browsing the page. Requires copying Template:USERNAME. */ // Insert username if (mw.config.get('wgAction') === 'view' && mw.user.name !== null) { $('.insertusername').text(mw.user.name); } /* End of the replacement */