User:Darth Culator/global.js

// 

importArticles({   type: 'script',    articles: [        'u:dev:PurgeButton/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:EditIntroButton/code.js',        'u:dev:AjaxBatchDelete/code.js',        'u:dev:NullEditButton/code.js',        'u:dev:WhatLinksHere/code.js',        'u:dev:OldFilePages/code.js',        'u:dev:NoImageLightbox/code.js',        'u:starwars:MediaWiki:Gadget-inactiveusers.js',        'u:starwars:MediaWiki:Gadget-duplinks.js',    ] });

//Reference Tooltips mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.js&action=raw&ctype=text/javascript' ); mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.css&action=raw&ctype=text/css', 'text/css' ); mw.util.addCSS( '.referencetooltip > li > sup { display: none; }' );

// Nukes the Star Wars Explained videos from orbit Array.from(document.querySelectorAll('.featured-video-wrapper')).forEach(x=>x.parentNode.removeChild(x))

//Contribs Range importScriptURI('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-contribsrange.js&action=raw&ctype=text/javascript');

//Fast Old Image Revision Delete function fdImageCheckdelete { if( wgCanonicalNamespace === 'File' && wgAction === 'delete' ) { if( window.location.href.match( /&oldimage=/ ) ) { $( '#mw-filedelete-submit' ).click; }	} } $( fdImageCheckdelete );

//