User:Matiia/global.js

// BEGIN Soporte de idioma para BotoneraPopups en wikis en español // Este código solo será efectivo en wikis cuyo idioma sea español if (window.wgContentLanguage == 'es') { if (!window.BotoneraPopups) { window.BotoneraPopups = {}; }	window.BotoneraPopups.wikisiteinfo = $.extend(true, window.BotoneraPopups.wikisiteinfo, {namespaces:{'-2':{canonical:'Media'},'-1':{canonical:'Special'},'1':{canonical:'Talk'},'2':{canonical:'User'},'3':{canonical:'User talk'},'4':{canonical:'Project'},'5':{canonical:'Project talk'},'6':{canonical:'File'},'7':{canonical:'File talk'},'9':{canonical:'MediaWiki talk'},'10':{canonical:'Template'},'11':{canonical:'Template talk'},'12':{canonical:'Help'},'13':{canonical:'Help talk'},'14':{canonical:'Category'},'15':{canonical:'Category talk'}}, specialpagealiases:[{realname:'Upload',aliases:['SubirArchivo']},{realname:'Prefixindex',aliases:['PáginasPorPrefijo']},{realname:'Contributions',aliases:['Contribuciones']},{realname:'Whatlinkshere',aliases:['LoQueEnlazaAquí']},{realname:'Movepage',aliases:['MoverPágina']},{realname:'Log',aliases:['Registro']},{realname:'Blockip',aliases:['Bloquear']},{realname:'Undelete',aliases:['Restaurar']},{realname:'Search',aliases:['Buscar']}]}); window.BotoneraPopups.rollbackSummaryPrefix = 'Revertidos los cambios de $1: '; } // END // BEGIN BotoneraPopups importScriptURI('http://dev.wikia.com/wiki/BotoneraPopups/Code/es.js?action=raw&ctype=text/javascript&templates=expand'); importStylesheetPage('BotoneraPopups/code.css', 'dev'); // END

AjaxRCRefreshText = 'Actividad automatizada'; AjaxRCRefreshHoverText = 'Con la casilla marcada esta página se actualizará automáticamente'; ajaxPages = ["Special:RecentChanges", "Special:WikiActivity", "Special:Log", "Especial:CambiosRecientes","Especial:WikiActivity", "Especial:Registro", "Especial:PáginasNuevas", "Especial:Seguimiento"]; importScriptPage('AjaxRC/code.js', 'dev'); importScriptPage('PurgeButton/code.js', 'dev'); importScriptPage('SkinSwitchButton/code.js', 'dev');

importArticles({   type: 'script',    articles: [        'u:dev:PortableCSSPad/code.js',        'w:c:dev:RevealAnonIP/usercode.js',        'w:c:dev:ReferencePopups/code.js',    ] });

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",    "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png", "speedTip": "Strike", "tagOpen": " ", "tagClose": " ", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/1/13/Button_enter.png", "speedTip": "Salto de linea", "tagOpen": " ", "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://img2.wikia.nocookie.net/__cb20081020114112/central/images/f/fd/Button_underline.png", "speedTip": "Subrayado", "tagOpen": " ", "tagClose": " ", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://img2.wikia.nocookie.net/__cb20071005082211/central/images/f/f6/Button_html_comment.png", "speedTip": "Comentario solo para editores", "tagOpen": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://img1.wikia.nocookie.net/__cb20070329064843/central/images/2/23/Button_code.png", "speedTip": "Code", "tagOpen": " ", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://img2.wikia.nocookie.net/__cb20070329064959/central/images/1/12/Button_gallery.png", "speedTip": "Galería", "tagOpen": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://img3.wikia.nocookie.net/__cb20070329065154/central/images/3/3c/Button_pre.png", "speedTip": "Pre", "tagOpen": " ", "tagClose": " ", "sampleText": ""}; }