Uncyclopedia:Welcoming Committee/Tools

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

Welcome, to a page completely dedicated to tools meant specifically for use by the elite group of Uncyclopedians know only as 'The Welcoming Commitee'. Here you will find a variety of different codes and other assorted mish-mash readily available to paste into your very own css/js files... or whatever they're called.

Green Talk Page Link[edit source]

Just paste the following code into your personal uncyclopedia.css and watch in amazement as all of the unedited 'User Talk' pages turn Electric Lime Green! However, the 'User Talk' pages for anonymous IPs will stay their same old dark-red color, so you don't have to worry about accidentally welcoming people that don't even count. In addition, not only will this code work on the Recent changes page, but also in every other special page that includes a list of usernames.

ul.special li a[title ^="User talk:"].new { color:#00ff00;font-weight:bold }
ul.special li a[title ^="Special:Contributions"] + a[title ^="User talk:"].new { color:#CC2200;font-weight:normal }
  • Special Thanks to Splarka who worked long and hard perfecting this code, making it what you see today - And Spang, who added one of these things: ^

Automated Welcome Message[edit source]

Adding this - slightly larger - code to your uncyclopedia.js will produce a new tab (marked 'welcome') at the top of any 'User talk' page when you are editing it. This tab will be identical to the 'edit' tab, 'history' tab, 'watch' tab, and all others that may be present. When clicked, it will post {{subst:welcome}} ~~~~ in the edit section, leave a personalizeable edit summary, and check the minor edit box - All before saving the page automatically. (Note: Default edit summary is 'Welcome new user! (I am a linkslut)' but can be changes simply by finding this text in the code a switching it with something else)

//<nowiki>

function welcomeslutbutton() {
    if(document.title.indexOf("Editing User talk:") == 0) { 
        var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0];
        addlilink(tabs, 'javascript:welcomeslut()', 'welcome', 'ca-welcome');
    }
}
addOnloadHook( welcomeslutbutton );

function welcomeslut() {
    document.editform.wpSummary.value = 'Welcome new user! (I am a linkslut)';
    document.editform.wpMinoredit.checked = true;
    document.editform.wpWatchthis.checked = false;
    var txt = document.editform.wpTextbox1;
    if(txt.value.length > 0) txt.value += '\n';
    txt.value += '{{subst:welcome}}\n~~~~';
    // document.editform.wpSave.focus();
    document.editform.wpSave.click();
    // focus() sets focus on the save button. 
    // click() submits it automagically. 
    // Uncomment whichever you prefer -Spl
}

function addlilink(tabs, url, name, id) {
    var na = document.createElement('a');
    na.href = url;
    na.id = id;
    na.appendChild(document.createTextNode(name));
    var li = document.createElement('li');
    li.appendChild(na);
    tabs.appendChild(li);
    return li;
}

 //</nowiki>
  • Once again, thanks to Splarka for lending us his 1337 scripting abilities.

Automated welcome with green talk page links[edit source]

This script not only lets you automatically welcome users, but it also makes unwelcomed users' talk pages show up lime green in recent changes and automatically welcomes them when you click the link.

  document.write('<script type="text/javascript" src="'
  + 'http://uncyclopedia.wikia.com/index.php?title=User:Olipro/autotalk.js' 
  + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

Other Helpful Tidbits[edit source]

  • If you're looking for a large sum of unwelcomed users, try hiding the anonymous users from the Recent changes list, and getting as long a list as your browswer can handle. Demonstrated in this link
  • About 1/3 of the new usernames created everyday never make an edit, or they make a page and it gets deleted. Check the Gallery of new files, often times images are all that remain of a dead article.