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('http://es.kirby.wikia.com/index.php?title=Usuario:José_Dedede/pruebas.js&action=raw&ctype=text/javascript'); }

/* */ 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',        'w:c:dev:RevealAnonIP/usercode.js',        'w:c:dev:RelatedDiscussionsModule/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"}; }

/* */ var refreshDate; function addDate { var UTCDate = ((new Date).toUTCString).replace("GMT", "(UTC)"); $('#showdate').empty.attr('title','Refrescar caché').attr('style','text-decoration:none !important;').attr('href',window.location.href + '?action=purge').html(UTCDate.substring(5)); window.clearTimeout(refreshDate); refreshDate = window.setTimeout(addDate, 1000); } $(document).ready(function {   if (skin == 'oasis')         $(' ').appendTo('.WikiaBarWrapper .toolbar .tools');    else        $('#p-personal ul').prepend(' ');    addDate;    refreshDate = window.setTimeout(addDate, 1000); });