User:Shodai Tsuchi/global.js

/* Importações */ importArticles({   type: 'script',    articles: [        'u:dev:PortableCSSPad/code.js',        'u:dev:RevealAnonIP/code.js',        'u:dev:CapsFirst/code.js',        'u:dev:LastEdited/code.js',        'u:dev:AjaxBatchDelete/code.2.js',        'u:dev:View_Source/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:PurgeButton/code.js',        'u:dev:Message/code.js',        'u:dev:AutoEditDropdown/code.js',        'u:dev:Quick_Management/code.js',        'u:dev:CategoryRenameAuto-update/code.js',        'u:dev:AjaxDiff/code.js',        'u:dev:AutoEditPages/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:AjaxUndo/code.js',        'u:cod:User:Madnessfan34537/redlinkfix.js',        'u:cod:User:Madnessfan34537/userlinks.js',        'u:kiddo:User:Shodai_Tsuchi/buttons.js',        'u:dev:QuickTemplate/code.js',        'u:dev:QuickContribs/code.js',     ] }); var fdButtons = []; fdButtons[fdButtons.length] = {'summary': 'vandalism', 'label': 'V'}; fdButtons[fdButtons.length] = {'summary': 'spam', 'label': 'S'}; fdButtons[fdButtons.length] = {'summary': 'cleanup', 'label': 'C↑'}; fdButtons[fdButtons.length] = {'summary': 'Violation of the ToU', 'label': 'ToU'}; importScriptPage('FastDelete/code.js', 'dev'); fdButtons[fdButtons.length] = {'summary': 'Sem sentido', 'label': 'SS'};

// Written by Shodai Tsuchi function quickBlock { var userArray = wgPageName.split(":"); $('.WikiaMenuElement').append('Block'); }   if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User talk") { addOnloadHook(quickBlock); } function quickUnblock { var userArray = wgPageName.split(":"); $('.WikiaMenuElement').append('Unblock'); }   if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User talk") { addOnloadHook(quickUnblock); }