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.ignoreWarnings = true; 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', 'es.kirby.wikia.com', "community.wikia.com", 'kirby.wikia.com', "es.metroid.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:UserWikiInfo/code.js',        'u:dev:UploadInPage/code.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'); });   var oasis;    if (window.location.href.indexOf('?') != -1) {        oasis = window.location.href + '&useskin=wikia';    }    else {        oasis = window.location.href + '?useskin=wikia';    }    $('#p-tb ul').append('Usar oasis'); });

if ({ edit:1, submit:1 }[mw.config.get('wgAction')]) { mw.loader.using('mediawiki.action.edit', function {		if (mw.toolbar) {			mw.toolbar.addButton( 'http://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png', 'Redirección', '#REDIRECT ',				'', 'Texto', 'mw-editbutton-redirect' );			mw.toolbar.addButton( 'http://upload.wikimedia.org/wikipedia/commons/b/b6/Button_category_link.png', 'Categoría', '[[Category:',			   ']]', 'Texto', 'mw-editbutton-category' );			mw.toolbar.addButton( 'http://upload.wikimedia.org/wikipedia/commons/9/9e/Btn_toolbar_gallery.png', 'Galería', '',				'Imágenes', 'mw-editbutton-gallery' );		}	}); }

$(function {	if (!mw.config.get('wgMWSuggestTemplate') && mw.loader.getVersion('mediawiki.legacy.mwsuggest')) {		mw.config.set('wgMWSuggestTemplate', mw.util.wikiScript('api') + '?action=opensearch&search={searchTerms}&namespace={namespaces}&suggest');		mw.config.set('wgSearchNamespaces', [0, 6, 10, 14, 110]);		importScriptURI(mw.config.get('stylepath') + '/common/mwsuggest.js');		window.setTimeout(function { if (window.os_MWSuggestInit) { window.os_MWSuggestInit; }		}, 1000);	} });