User:Clear Arrow/global.js

if (wgCanonicalSpecialPageName == 'Chat') importScriptPage('ChatOptions/code.js', "dev");

window.ajaxSpecialPages = ["Recentchanges", "WikiActivity", "Watchlist", "Log", "Contributions"]; window.ajaxIndicator = 'http://images2.wikia.nocookie.net/__cb20100609110347/software/images/a/a9/Indicator.gif'; window.ajaxRefresh = 30000; window.AjaxRCRefreshText = 'Auto-refresh'; window.AjaxRCRefreshHoverText = 'Actualiza automáticamente la página'; importScriptPage("MediaWiki:ChatHacks.js", "dev"); window.pseudoVector = { loadCss: true, addReadTab: true, addContributionsTab: false, disableWatchIcon: false, visualEditorIcons: false, blacklist: [ 'es.pokemon.wikia.com', 'es.mario.wikia.com', "community.wikia.com" ] }; importArticles({   type: 'script',    articles: [        'u:dev:PortableCSSPad/code.js',        'u:dev:WHAM/code.2.js',        'u:dev:View_Source/code.js',        'u:dev:WallGreetingButton/code.js',        'u:dev:RevealAnonIP/usercode.js',        'u:dev:RelatedDiscussionsModule/code.js',        'u:dev:PurgeButton/code.js',        "u:dev:RecentChangesMultiple/code.2.js",        'u:dev:MiniComplete/code.js',        'u:dev:QuickDiff/code.js',        'u:dev:ViewRemoved/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:MediaWiki:Wikimarks/code.js',        "u:dev:MediaWiki:BotoneraPopups/BotoneraPopups.js",        "u:dev:MediaWiki:BotoneraPopups/WikiArticle.js",        'u:dev:Pseudo-Vector.js',        "u:dev:MediaWiki:BotoneraPopups/UILang/es.js",        "u:dev:MediaWiki:BotoneraPopups/code.js",        'u:dev:QuickTools/es/advanced.js'    ] });

$(function {    $('.wds-global-navigation__user-menu:not(a)').on('click', function  { window.location.replace('/wiki/Special:MyPage'); }); });

/* if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirección", "tagOpen": "#REDIRECT ",    "tagClose": "", "sampleText": "Texto"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b6/Button_category_link.png", "speedTip": "Categoría", "tagOpen": "[[Category:",    "tagClose": "]]", "sampleText": "Añadir categoría"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/9e/Btn_toolbar_gallery.png", "speedTip": "Galería", "tagOpen": "", "sampleText": "Añadir imágenes"}; }