User:Voidwalker/global.js

mw.loader.using(['mediawiki.util','mediawiki.api']).then(function{	mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript' );	mw.loader.load( 'https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/css', 'text/css' );	mw.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript' );	mw.loader.load( '//meta.miraheze.org/w/index.php?title=User:Void/vectorMenus.js&action=raw&ctype=text/javascript' );	mw.loader.load( '//en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-dropdown-menus.css', 'text/css' );	mw.loader.load( '//meta.miraheze.org/w/index.php?action=raw&ctype=text/javascript&title=User:Void/centralAuthLink.js' );	mw.loader.load( '//meta.miraheze.org/w/index.php?title=User:Void/filterLink.js&action=raw&ctype=text/javascript' ); if( mw.user.options.get('usenewrc') === 1 ) { $.ajax({			url: mw.util.wikiScript('api'),			type: 'POST',			dataType: 'json',			data: {				format: 'json',				action: 'options',				optionname: 'usenewrc',				optionvalue: 0,				token: mw.user.tokens.get('csrfToken')			}		}); } });