User:FastLizard4/global.js

//

// ***************************************************************** // Load various external scripts // ***************************************************************** function appendScript(url) { var scriptElem = document.createElement('script'); scriptElem.setAttribute('src',url); scriptElem.setAttribute('type','text/javascript'); document.getElementsByTagName('head')[0].appendChild(scriptElem); } appendScript('http://www.wikia.com/index.php?title=User:Splarka/contribtools.js&action=raw&ctype=text/javascript&dontcountme=s') appendScript('http://www.wikia.com/index.php?title=User:Splarka/stripsource.js&action=raw&ctype=text/javascript&dontcountme=s') appendScript('http://www.wikia.com/index.php?title=User:Splarka/fastdelete.js&action=raw&ctype=text/javascript&dontcountme=s') appendScript('http://www.wikia.com/index.php?title=User:Splarka/interwikitools.js&action=raw&ctype=text/javascript&dontcountme=s') appendScript('http://en.wikipedia.org/w/index.php?title=User:Zocky/SearchBox.js&action=raw&ctype=text/javascript&dontcountme=s') appendScript('http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s') popupAdminLinks=true; appendScript('http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-QuickDelete.js&action=raw&ctype=text/javascript&dontcountme=s') appendScript('http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-EnhancedUndelete.js&action=raw&ctype=text/javascript&dontcountme=s')

// ***************************************************************** // 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': 'Speedy Deletion: User request to delete page in own userspace', 'label': 'u'}; fdButtons[fdButtons.length] = { 'summary': 'Speedy deletion: Test page', 'label': 't'}; fdButtons[fdButtons.length] = { 'summary': 'Speedy deletion: Vandalism', 'label': 'v'};