User:Clear Arrow/global.js

// if (wgCanonicalSpecialPageName == 'Chat') importScriptPage('ChatOptions/code.js', "dev"); window.ajaxSpecialPages = ["Recentchanges", "WikiActivity", "Watchlist", "Log", "Contributions"]; window.ajaxIndicator = 'https://vignette1.wikia.nocookie.net/dev/images/c/c5/Circle_throbber.gif'; window.ajaxRefresh = 30000; window.YoutubePlayerDisableAutoplay = true; window.AjaxRCRefreshText = 'Auto-refresh'; window.UploadFileOasis = true; window.ignoreWarnings = true; window.AjaxRCRefreshHoverText = 'Actualiza automáticamente la página'; importScriptURI("https://dev.wikia.com/wiki/MediaWiki:ChatHacks.js?oldid=73144&action=raw&ctype=text/javascript"); importScriptURI('https://dev.wikia.com/wiki/MediaWiki:PurgeButton/code.js?oldid=74428&action=raw&ctype=text/javascript');

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: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:UploadInPage/code.js",        'u:dev:MediaWiki:Wikimarks/code.js',        "u:dev:MediaWiki:BotoneraPopups/BotoneraPopups.js",        "u:dev:MediaWiki:BotoneraPopups/WikiArticle.js",        'u:dev:MediaWiki:AntiSoundcloud/code.js',        "u:dev:MediaWiki:BotoneraPopups/UILang/es.js",        "u:dev:MediaWiki:BotoneraPopups/code.js",        'u:dev:CommentPreview/code.js',        'u:dev:GlobalEditcount/code.js', 'u:dev:QuickToolsv2/code.js' ] });

mw.loader.using('mediawiki.action.edit', function {	if (mw.toolbar) {		mw.toolbar.addButton( '//upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png', 'Redirección', '#REDIRECT ',			'', 'Texto', 'mw-editbutton-redirect' );		mw.toolbar.addButton( '//upload.wikimedia.org/wikipedia/commons/b/b6/Button_category_link.png', 'Categoría', '[[Category:',		   ']]', 'Texto', 'mw-editbutton-category' );		mw.toolbar.addButton( '//upload.wikimedia.org/wikipedia/commons/9/9e/Btn_toolbar_gallery.png', 'Galería', '',			'Imágenes', 'mw-editbutton-gallery' );		mw.toolbar.addButton( '//upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png', 'Usuario', '',			mw.config.get('wgUserLanguage'), 'mw-editbutton-userpage' );		mw.toolbar.addButton( '//upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png', 'Insignia', '',			'Ing2', 'mw-editbutton-badge' );	} }); var lastPositionScrollTop = 0; $(function {   $('.wds-global-navigation__user-menu div:nth-child(2) ul li:nth-child(2)').after('ContribucionesMis blogs'); }); $(window).scroll(function {    var position = $(this).scrollTop;    if (position <= lastPositionScrollTop){        $('#globalNavigation').slideDown;    } else {        $('#globalNavigation').slideUp;    }    lastPositionScrollTop = position; });

//