User:Taxcy Marsopas1/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki: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'),            $listPurgeItem = $('').append($linkPurge);            //Mercury            $linkMercury = $('Mercury'),            $listMercuryItem = $('').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" }; }