User:Shodai Tsuchi/global.js

importScriptPage('User:Madnessfan34537/multikick.js', 'callofduty'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'community'); importScriptPage('QQX/code.js', 'dev'); importScriptPage('Translator/Translator.js', 'dev'); 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('AutoEditDropdown/code.js', 'dev'); importScriptPage('AjaxPatrol/code.js', 'dev' ); AjaxRCRefreshText = 'AJAX'; AjaxRCRefreshHoverText = 'Automaticamente refresca a página'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); importScriptPage('Code/code.js', 'dev'); importScriptPage('Usuário:Shodai_Tsuchi/quickBlock.js', 'pt-br.goes'); importScriptPage('FastDelete/code.js', 'dev'); importScriptPage('MessageBlocker/code.js', 'dev'); importScriptPage('Usuário:Shodai_Tsuchi/redlinkfix.js', 'pt-br.goes'); importScriptPage('MultipleFileDelete/code.js', 'dev'); importScriptPage('Usuário:Shodai_Tsuchi/faces.js', 'pt-br.goes'); importScriptPage('User:Madnessfan34537/quickban.js', 'cod'); importScriptPage('User:Madnessfan34537/ignore.js', 'cod'); importScriptPage('Usuário:Shodai_Tsuchi/CategoryAdder.js', 'pt-br.goes'); importScriptPage('User:EmanuelFN/MudaSkin.js', 'emanuelfn'); importScriptPage('RecentChangesMultiple/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'}

// Display 12 hour time followed by day, month (English, full name) // and year with "(UTC)" at the end window.DisplayClockJS = '%2I:%2M:%2S %p %2d %{Janeiro;Fevereiro;Março;Abril;Maio;Junho;Julho;Agosto;Setembro;Outubro;Novembro;Dezembro}m %Y (UTC)'; importArticles({	type: 'script',	articles: [		// ...		'u:dev:DisplayClock/code.js',		// ...	] });

// 14:51, December 20, 2014 (UTC) // ",    "sampleText": ""};   mwCustomEditButtons[mwCustomEditButtons.length] = {    "imageFile": "http://images.wikia.com/central/images/7/7b/Button_pre_nowiki.png",    "speedTip": "tags ",    "tagOpen": "\n",    "tagClose": "\n",    "sampleText": ""};   mwCustomEditButtons[mwCustomEditButtons.length] = {    "imageFile": "http://images.wikia.com/central/images/7/73/Button_code_nowiki.png",    "speedTip": "tags  ",    "sampleText": ""};   mwCustomEditButtons[mwCustomEditButtons.length] = {    "imageFile": "http://i.imgur.com/Xrf9Z45.png",    "speedTip": "&lt;tag here&gt;",    "tagOpen": "&lt;",    "tagClose": "&gt;",    "sampleText": ""};   mwCustomEditButtons[mwCustomEditButtons.length] = {    "imageFile": "http://upload.wikimedia.org/wikipedia/commons/c/ce/Button_no_include.png",    "speedTip": "tag ",    "tagOpen": " ", "tagClose": " ", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_include.png", "speedTip": "tag ", "tagOpen": " ", "tagClose": " ", "sampleText": ""}; }   var globalJSArticles; try { globalJSArticles = JSON.parse(sessionStorage.getItem('globalJSArticles')); } catch (e) { globalJSArticles = null; }   if (!$.isArray(globalJSArticles)) { globalJSArticles = [ 'w:c:wikimarks:Client.js', 'w:c:dev:User:UltimateSupreme/accountnav.js', 'w:c:dev:UnsafeScripts/code.js', 'w:c:dev:TabKeyInserter/code.js', 'w:c:dev:AntiUnicruft/code.js', 'w:c:dev:AjaxRC/beta.js', 'w:c:dev:AjaxUndo/code.js', 'w:c:dev:QuickCreateUserPage/code.js', 'w:c:dev:AjaxBatchDelete/code.js', 'w:c:dev:EditIntroButton/code.js', //'w:c:dev:NoImageLightbox/code.js', 'w:c:dev:SkinSwitchButton/code.js', 'w:c:dev:PortableCSSPad/code.js' ];   }    console.log("globalJSArticles =", globalJSArticles); console.log(       "\nglobalJSArticles.splice(4, 1); sessionStorage.setItem(\"globalJSArticles\", JSON.stringify(globalJSArticles)); window.location.reload;\n\nsessionStorage.removeItem(\"globalJSArticles\"); window.location.reload;\n"); importArticles({       type: 'script',        articles: globalJSArticles    }); if (mw.config.get('skin') === 'monobook') { mw.loader.load(           '//commons.wikimedia.org/w/index.php?title=MediaWiki:JSValidator.js&action=raw&ctype=text/javascript'); mw.loader.load(           'https://raw.github.com/Krinkle/mw-gadgets-jsUpdater/master/src/jsUpdater.js'); // Ugly hack to make search work mw.loader.using('jquery.ui.autocomplete', function {           $('#searchInput').autocomplete({ minLength: 2, source: function(request, response) { $.getJSON(                       mw.util.wikiScript('api'), {                        format: 'json',                        action: 'opensearch',                        search: request.term                    }, function(arr) {                        if (arr && arr.length > 1) {                            response(arr[1]);                        } else {                            response([]);                        }                    }); }           });        });    } }); //