User:José Dedede/global.js

/* */ importScriptURI('http://es.wwwzumablitz.wikia.com/index.php?title=Usuario:José_Dedede/Chat.js&action=raw&ctype=text/javascript');

/* */ if(wgCanonicalSpecialPageName == 'Chat') { importScriptURI("https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js"); } /* */ importScriptPage('RelatedDiscussionsModule/code.js', 'dev');

/* */ var qtUserPageTemplate = ''; importArticles({   type: 'script',    articles: [        'w:c:es.dev:TablaPortableDeCSS/codigo.js',        'w:c:dev:WHAM/code.js',        'w:c:dev:Sine/code.js',        'w:c:dev:View_Source/code.js',        'w:c:dev:SpellCheckModule/code.js',        'w:c:dev:QuickCreateUserPage/code.js',        'w:c:dev:WallGreetingButton/code.js'    ] });

/* */ function subeEnlacesUtiles{$('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('Contribuciones');$('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('Blogs');$('.WikiaHeader nav ul li:first-child');}addOnloadHook(subeEnlacesUtiles);

/* */ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "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"}; }

/* */ function chatAdmin { if (hasGroup('sysop')) { $('.ChatWindow #UserStatsMenu').after('Bloquear'); $('.ChatWindow #UserStatsMenu').after('Quitar moderador'); }; }addOnloadHook(chatAdmin);