User:Sannse/global.js

//

// ***************************************************************** // Load various external scripts // ***************************************************************** importScriptPage('User:Sannse/forumtools.js', 'community'); importScriptPage('User:Splarka/contribtools.js', 'community'); importScriptPage('FastDelete/code.js', 'dev');

if(skin == "monobook"){ importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Zocky/SearchBox.js&action=raw&ctype=text/javascript&dontcountme=s'); importScriptPage('User:Sannse/Imagelisttools.js', 'community'); }

// ***************************************************************** // Custom automatic delete buttons // ***************************************************************** // Adds customizable one-click deletion buttons to any deletable page. // Requires w:User:Splarka/fastdelete.js in appendScript;

var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Inappropriate image', 'label': 'bad_image'}; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'Spam'};

// end Custom automatic delete buttons

if(wgNamespaceNumber!=-1) addOnloadHook(function { addPortletLink('p-cactions','/wiki/Special:Prefixindex/' + escape(wgPageName),'Subpages','ca-subpages','Show subages of ' + wgPageName); });

// this bit is Joeyaa's - adds links to anons in comments

var titleCheck = $('.details span[title]') .attr('title'); $('.details span[title]').html('Unregistered user (IP: ' + titleCheck + ')');

//