User:Devil End/global.js

// Ignore Infobox Builder

if (window.location.pathname.indexOf('Special:InfoboxBuilder') != -1) { var name = window.location.pathname.split('Special:InfoboxBuilder/')[1]; location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+name+'?action=edit&useeditor=source')); }

if (window.location.pathname.indexOf('Especial:InfoboxBuilder') != -1) { var name = window.location.pathname.split('Especial:InfoboxBuilder/')[1]; location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+name+'?action=edit&useeditor=source')); }

if (window.location.pathname.indexOf('Speciale:InfoboxBuilder') != -1) { var name = window.location.pathname.split('Speciale:InfoboxBuilder/')[1]; location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+name+'?action=edit&useeditor=source')); }

// Imports

importArticles({   type: "script",    articles: [        'u:dev:FastDelete/code.js',        "u:dev:Nuke/code.js",        "u:dev:PortableCSSPad/code.js",        'u:dev:QuickToolsv2/code.js',        'u:dev:QuickIW/code.js',        'u:dev:MassRename/code.js',        'u:dev:MediaWiki:ChainQuotes.js',,        'u:dev:MediaWiki:TokenRefresh.js',        'u:dev:MediaWiki:FileLogs.js',        'u:dev:EditConflictAlert/code.js',        'u:dev:MediaWiki:ChatOptions/code.js',        'u:dev:MediaWiki:ImportJS-Plus.js',        'u:dev:MediaWiki:HideClearCache.js',        'u:dev:MediaWiki:DynamicCategoryImageLinks.js',    ] });

// FastDelete

window.fdButtons = []; window.fdButtons[window.fdButtons.length] = { summary: 'Vandalismo', label: 'V' }; window.fdButtons[window.fdButtons.length] = { summary: 'Repetida', label: 'RP' }; window.fdButtons[window.fdButtons.length] = { summary: 'Spam', label: 'SP' }; window.fdButtons[window.fdButtons.length] = { summary: 'Innecesario', label: 'IN' }; window.fdButtons[window.fdButtons.length] = { summary: 'A petición', label: 'PT' }; window.fdButtons[window.fdButtons.length] = { summary: 'Redirección rota/doble/innecesaria', label: 'RD' }; window.fdButtons[window.fdButtons.length] = { summary: '', label: 'SR' };

window.fdButtons[window.fdButtons.length] = { summary: 'Limpieza', label: 'L' };

window.fdButtons[window.fdButtons.length] = { summary: 'Sin uso', label: 'SU' };