User:Taxcy Marsopas1/global.js

importScriptPage('MediaWiki:WHAM/es/code.2.js', 'dev');

//By User:BranDaniMB// var url= mw.config.get('wgServer')+ mw.config.get('wgScriptPath')+/wiki/+mw.config.get('wgPageName'); var purge= '?action=purge'; var edit= '?action=edit'; var borrar= '?action=delete'; var mercury= '?useskin=mercury'; var monobook= '?useskin=monobook'; $('  Chat    Actualizar   Editar   Borrar   Use Skin Mercury   Use Skin Monobook  Contactar con Fandom GUP Wiki Polandball Wiki</a> The Loud House Wiki</a> VSTF</a>   ').insertAfter('#WikiaPage');

importArticles({   type: 'script',    articles: [        'u:dev:PortableCSSPad/code.js',        'u:dev:MediaWiki:UserCheck/code.js',        'u:dev:QuickToolsv2/code.js',        "u:dev:MediaWiki:QuickModTools/loader.js",        'u:dev:MediaWiki:Rollback/code.js',        'u: dev: MediaWiki: PiniginsUserInfo / code.js'     ] });

importScriptPage('MediaWiki:Nuke/code.js', 'dev');

//Add links to WikiaBar var url= mw.config.get('wgServer') + mw.config.get('wgScriptPath') + "/wiki/" + mw.config.get('wgPageName'); $(function ($) {       var WikiaBar = window.WikiaBar,            //Purge            $linkPurge = $('Purge</a>'),            $listPurgeItem = $('<li></li>').append($linkPurge);            //Mercury            $linkMercury = $('Mercury</a>'),            $listMercuryItem = $('<li></li>').append($linkMercury);        $('#purge-link').parent.remove;        $('#mercury-link').parent.remove;        if (WikiaBar) {            // add link to oasis toolbar            WikiaBar.wikiaBarWrapperObj.find('.tools').append($listPurgeItem);            WikiaBar.wikiaBarWrapperObj.find('.tools').append($listMercuryItem);        } else {            // add link to monobook toolbox            $('#p-tb ul').append($listPurgeItem);            $('#p-tb ul').append($listMercuryItem); } });

// Extraido del Common.js //  Solo para uso personal // User:BranDaniMB if (typeof(mwCustomEditButtons) != 'undefined') { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile" : "http://vignette1.wikia.nocookie.net/pruebas-brandanimb/es/images/b/b2/%2B.png?1", "speedTip" : "Uso imagen", "tagOpen" : "", "sampleText": "spotlights" }; }