User:Vatsa1708/global.js

importScriptPage('MediaWiki:Common.js/top.js', 'prototype');

//skin changer function CreateSkinChangeButtons { //Oasis buttons $('div.buttons a:first-child').before('MonobookVector'); //Monobook buttons $('#p-cactions .pBody ul li:nth-last-child(1)').after('OasisVector'); } addOnloadHook(CreateSkinChangeButtons);

// Disable image lightboxes if (skin == 'oasis') { $('.image').each(function {       $(this).attr('href', wgServer + wgArticlePath.replace('$1', 'File:' + encodeURIComponent( $(this).attr('data-image-name') ) ) );    }); if (LightboxLoader.handleClick) { delete LightboxLoader.handleClick; } }