User:Sophiedp/global.js

//Credit to all the people who helped me put this together mw.loader.load('mediawiki.api'); new mw.Api.get({meta:'userinfo',uiprop:'options'}).done(function(op) {   $.get(op.query.userinfo.options.watchlisttoken, eval); });