User:Sannse/global.js

//

// ***************************************************************** // Load various external scripts // ***************************************************************** importScriptPage('User:Sannse/forumtools.js', 'www'); importScriptPage('User:Splarka/contribtools.js', 'www'); 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', 'www'); }

// ***************************************************************** // 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': 'Clean-up of old pages', 'label': 'Clean-up'}; 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); });

//