User:Shodai Tsuchi/global.js

importScriptPage('User:Madnessfan34537/multikick.js', 'callofduty'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'community'); importScriptPage('BackToTopButton/code.js', 'dev'); importScriptPage('User:Joeyaa/wham.js','vstf'); importScriptPage('MediaWiki:FindReplace.js', 'kangaroopower'); importScriptURI('http://dev.wikia.com/wiki/BotoneraPopups/Code/en.js?action=raw&ctype=text/javascript&templates=expand'); importStylesheetPage('BotoneraPopups/code.css', 'dev'); importScriptPage('AjaxBatchDelete/code.js', 'dev'); importScriptPage('AutoEditDropdown/code.js', 'dev'); importScriptPage('AjaxRC/code.js', 'dev'); importScriptPage('AjaxPatrol/code.js', 'dev' ); importScriptPage('AjaxUndo/code.js', 'dev' ); AjaxRCRefreshText = 'AJAX'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); importScriptPage('User:PlasmaTime/quickBlock.js', 'c'); importScriptPage('FastDelete/code.js', 'dev'); importScriptPage('MessageBlocker/code.js', 'dev'); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Limpeza/Sem uso', 'label': 'Limpeza/Sem uso'}; fdButtons[fdButtons.length] = { 'summary': 'Vandalismo', 'label': 'Vandalismo'} fdButtons[fdButtons.length] = { 'summary': 'A Pedido do Autor', 'label': 'A Pedido do Autor'} importScriptPage('User:Madnessfan34537/redlinkfix.js', 'cod'); importScriptPage('MultipleFileDelete/code.js', 'dev'); importScriptURI('http://pt-br.goes.wikia.com/index.php?title=Usu%C3%A1rio:Shodai_Tsuchi/faces.js&action=raw&ctype=text/javascript'); // Kick $(function {   if (mw.config.get('wgCanonicalSpecialPageName') == 'Chat') {        var groups = mw.config.get('wgUserGroups'),            absentMessage = window.absentMessage || ' Não foi possível chutar devido à esta página não ser um bate-papo.';        if (groups.indexOf('sysop') > -1 || groups.indexOf('bureaucrat') > -1 || groups.indexOf('chatmod') > -1 ) {           $('[name="message"]').keydown(function(e) { if (e.which == 13 &&                  $(this).val.substr(0, 5) == '!kick'                   ) { var user = $(this).val.substr(6), users = [], last = $('.Chat li').last.attr('data-user'); $('.WikiChatList .User').each(function {                       users.push($(this).attr('data-user'));                    }); if (users.indexOf(user) == -1) { $('.Chat ul').append('' + absentMessage.replace(' ', user) + ''); if (!last) { $('.inline-alert').last.addClass('continued'); }                   }                    mainRoom.kick({                        name: user                    }) $(this).val(''); }           });        }    } });