User:Usui Uzumaki/global.js

importArticles({   type: 'script',    articles: [        'u:dev:PortableCSSPad/code.js'    ] }); importArticles({	type: "script",	articles: [		"u:dev:DynamicImages/code.js"	] }); batchDeleteDelay = 1,000 ; importScriptPage ( 'AjaxBatchDelete / code.2.js', 'dev' ) ; importScriptPage('AjaxBatchDelete/es/code.js', 'dev'); importArticles({   type: 'script',    articles: [        'u:dev:QuickComments/code.js'    ] }); var qtUserPageTemplate = ''; importScriptPage('QQX/code.js', 'dev'); importArticles({   type: 'script',    articles: [        'u:dev:Message/code.js'    ] }); importScriptPage("MediaWiki:Chat.js/MP.js", "es.fanonminecraft"); //Special CSS controller jQuery(function ($) {   if (mw.config.get('wgCanonicalSpecialPageName') === 'CSS') {        $(".css-editor").prepend(" 100% ");    };    var countcss = 0;    $("#buttom-css").click(function  { countcss += 1; if (countcss == 1) { $(this).text("Default"); $(".css-editor-wrapper").css("width", "100%"); $(".css-side-bar").css("display", "none"); $(".ace_gutter").css("display", "none"); $(".ace_scroller").css("left", "0px"); }       if (countcss == 2) { $(this).text("100%"); $(".css-editor-wrapper").css("width", "auto"); $(".css-side-bar").css("display", "block"); $(".ace_gutter").css("display", "block"); $(".ace_scroller").css("left", "49px"); countcss = 0 }   }); }); importScriptURI('http://dev.wikia.com/wiki/BotoneraPopups/Code/es.js?action=raw&ctype=text/javascript&templates=expand'); importStylesheetPage('BotoneraPopups/code.css', 'dev'); 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: '; } // if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECCIÓN ",    "tagClose": "", "sampleText": "Texto"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b6/Button_category_link.png", "speedTip": "Categoría", "tagOpen": "[[Categoría:",    "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"}; } //