User:José Dedede/global.js

/* */ importScriptPage('Usuario:' + wgUserName + '/Chat.js', 'es.wwwzumablitz');

/* */ var qtUserPageTemplate = ''; PurgeButtonText = 'Refrescar'; importArticles({   type: 'script',    articles: [        'w:c:es.dev:TablaPortableDeCSS/codigo.js',        'w:c:es.dev:OpcionesChat/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',        'w:c:dev:PurgeButton/code.js',        'w:c:dev:BotoneraPopups/WikiArticle.js',        'w:c:dev:BotoneraPopups/BotoneraPopups.js',        'w:c:dev:BotoneraPopups/code.js',        'w:c:dev:BotoneraPopups/UILang/es.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); });