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",    ] });

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); } });