User:ClemRutter/vector.js

$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).then( function { mw.loader.load('jquery.ui'); mw.loader.load('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-Cat-a-lot.js'); mw.loader.load('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-Cat-a-lot.css', 'text/css' ); window.catALotPrefs = {watchlist:"nochange",minor:true,editpages:true}; });