User:Sophiedp/global.js

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