User:Sarah Manley/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': 'Vandalism', 'label': 'Vandalism'}; fdButtons[fdButtons.length] = { 'summary': 'Cleaning up 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); });

//