User:Cordg/global.js

// ************************************************** // PÁGINA GLOBAL DE JAVASCRIPT // PERSONALIZADA POR User:Cordg // ************************************************** // Importar Scripts - Parte 1 $.getScript('https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js'); // Importar Scripts - Parte 2 importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); importScriptPage('AjaxPatrol/code.js', 'dev'); importScriptPage('User:Cordg/buttons.js', 'c'); importScriptPage('QuickTools/advanced.js', 'dev');

// Cosas para Monobook - Parte 3 ( function ( mw ) { 'use strict';	// Adds a button linking to the talk page.	if ( document.getElementsByClassName( 'comments' ) && mw.config.get( 'wgNamespaceNumber' ) === 0 ) {		var tpbutton = document.createElement( 'a' );		tpbutton.accessKey = 't';		tpbutton.href = mw.config.get( 'wgServer' ) + '/wiki/' +			mw.config.get( 'wgPageName' ) + '?useskin=monobook';		tpbutton.className = 'wikia-button secondary talk';		tpbutton.rel = 'nofollow';		tpbutton.setAttribute( 'data-id', 'comment' );		tpbutton.textContent = 'Monobook';		document.getElementById( 'WikiaPageHeader' ).insertBefore( tpbutton, document.getElementsByClassName( 'tally' )[0] );			} }( mediaWiki ) ); importScriptPage('MediaWiki:Common.js/Clases/SkinPropagation.js', 'es.pokemon'); // Importar Scripts - Parte 4 window.WikiaDisableDynamicLinkCreatePagePopup = true; window.NoImageLightbox = { novideo: true }; var qtUserPageTemplate = ''; var qtEnableUserPageOverwrite = true; importArticles({   type: 'script',    articles: [        "w:c:dev:AjaxUndo/code.js",        "w:c:dev:NoImageLightbox/code.js",        "w:c:dev:QuickComments/code.js",        "w:c:dev:Code/code.js",	"w:c:dev:Message/code.js",        "w:c:answers:MediaWiki:Gadget-HotCat.js",	"w:c:dev:Thread Inspection/code.js",        "w:c:dev:OldFilePages/code.js",        "w:c:dev:AjaxRC/code.js",        "w:c:dev:WHAM/code.js",        "w:c:dev:PortableCSSPad/code.js",	"w:c:dev:View Source/code.js",        "w:c:dev:QuickCreateUserPage/code.js",        "w:c:dev:RelatedDiscussionsModule/code.js",        "w:c:dev:ReferencePopups/code.js",        "w:c:dev:ContribsLink/code.js",        "w:c:dev:Novasis14/code.js",        "w:c:dev:InfoWidgets/code.js",        "w:c:dev:QuickTools/advanced.js"    ] });