User:Takecommand/quikDelete.js

// import some useful community provided scripts importScriptPage('User:Sannse/forumtools.js', 'community'); importScriptPage('User:Splarka/contribtools.js', 'community'); importScriptPage('FastDelete/code.js', 'dev'); importScriptPage('User:Sannse/Imagelisttools.js', 'community');

// ***************************************************************** // -START- // This is where we start the quikDelete. On any page you can click any of these // four buttons to delete them...automatically and in seconds. Useful in deleting // spam, vandalism, other. // The statements can be modified. // VERSION: 0.2 // STATE: RC2 for 1.0 // AUTHOR: Takecommand // NOTES: Leave me a message if you need help or have questions. // ***************************************************************** // // Requires w:User:Splarka/fastdelete.js in appendScript; var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Violation of Wikia\'s Terms of Use', 'label': 'bad_content'}; fdButtons[fdButtons.length] = { 'summary': 'Removed due to potential copyright issues', 'label': 'copyright'}; fdButtons[fdButtons.length] = { 'summary': 'Removed due to suspected vandalism.', 'label': 'vandalism'}; fdButtons[fdButtons.length] = { 'summary': 'Broken, unused image', 'label': 'broken'}; // 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); }); //WHAM importScriptPage('User:Joeyaa/wham.js','vstf'); //gear fixer (from uberfuzzy) $('a[data-name="customize"]').html( function{ return $(this).parent.find('img').detach } ); //ForcePreview //importScriptURI('https://internal.wikia-inc.com/index.php?title=MediaWiki:ForcePreview.js&action=raw&ctype=text/javascript'); //CU tweak importScriptURI( 'https://internal.wikia-inc.com/index.php?title=MediaWiki:CU.js&action=raw&ctype=text/javascript' ); //