User:Primarch Dysley/global.js

//Variables (Auto protect-delete) var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'S' }; fdButtons[fdButtons.length] = { 'summary': 'Junk', 'label': 'J' }; fdButtons[fdButtons.length] = { 'summary': 'Opinion', 'label': 'O' }; fdButtons[fdButtons.length] = { 'summary': 'Non-English', 'label': 'Ѭ' }; fdButtons[fdButtons.length] = { 'summary': 'Not a question', 'label': 'NQ' }; fdButtons[fdButtons.length] = { 'summary': 'Homework', 'label': 'HW' }; fdButtons[fdButtons.length] = { 'summary': 'Clean-up', 'label': 'C↑' }; fdButtons[fdButtons.length] = { 'summary': 'Too broad/not enough detail', 'label': 'B' }; fdButtons[fdButtons.length] = { 'summary': 'Violation of Wikias terms of use (pornography, advertisement, etc.)', 'label': 'ToU' };

var AjaxRCRefreshText = 'Auto-refresh'; var AjaxRCRefreshHoverText = 'Automatically refresh the page';

//Import Scripts importArticles({   type: "script",    articles: [        "w:c:dev:AjaxRC/code.js",        "w:c:answers:User:The Mol Man/Annihilate.js",        "w:c:answers:MediaWiki:Gadget-HotCat.js",        "w:c:answers:User:The Mol Man/FastDeleteProtect.js",    ] });

if ( wgNamespaceNumber !=undefined && !window.ToolbarLinksLoads ) { addOnloadHook( addToolbarLinkss ); } var ToolbarLinksLoads = true; function addToolbarLinkss { $('Kill tool').insertAfter('ul.tools > li:first-childRTRC').insertAfter('ul.tools > li:first-child'); }