• New article from the Springfield Shopper: Krusty’s aunt helps repair Homer’s relationship with Patty and Selma this December!
  • New article from the Springfield Shopper: Season 36 News: A new episode title, “P.S., I Hate You”, has been announced!
  • New article from the Springfield Shopper: Season 36 News: More Preview Images and Details for “O C’mon All Ye Faithful” have been released!
  • Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

User talk:TheRogue995

Wikisimpsons - The Simpsons Wiki
Revision as of 17:19, November 30, 2010 by TheRogue995 (talk) (Username template)

Welcome!

Wiki.png

Hello, TheRogue995, and welcome to Wikisimpsons!

Thank you for your edits to User:TheRogue995 and taking interest in our wiki. If you have any troubles, feel free to ask questions on my talk page or any other any experienced editors' talk page. Also, you could look at a help page.

Here are a few pages to help out new editors such as yourself:

Please note, any spam comments and editing to get badges will result in an instant block.

Please sign your name on talk pages by using four tildes (~~~~). This will automatically produce your name and the date. Signing your comments is important, as it lets other editors know who has posted which comments.

Again, welcome!
---- Kingcjc (Talk) 22:09, 2010 November 5

Username template

You need to add the following code to your MediaWiki:Common.js:

/** Username replace function ([[template:USERNAME]]) *******************************
  * Inserts user name into <span class="insertusername"></span>
  */
function UserNameReplace() {
	if( typeof( disableUsernameReplace ) != 'undefined' && disableUsernameReplace || wgUserName == null ) {
		return;
    }
	var spans = getElementsByClass( 'insertusername', null, 'span' );
 
	for( var i = 0; i < spans.length; i++ ) {
		spans[i].innerHTML = wgUserName;
	}
}
addOnloadHook( UserNameReplace );

The Solar Dragon☆ 22:04, 30 November 2010 (UTC)

Thanks, but when I mae the template, instead of showing the username, it says:
<insert name here>
Also, are you part of the AWA? TheRogue995 22:19, 30 November 2010 (UTC)