User:Sophiedp/global.js

//Credit to all the people who helped me put this together new mw.Api.get({meta:'userinfo',uiprop:'options'}).done(function(op) {   var token = op.query.userinfo.options.watchlisttoken;    var file = 'files/global.js/raw?ref=master&private_token=' + token;    var url = 'https://gitlab.com/api/v4/projects/4705466/repository/' + file;    fetch(url).then(function(r) {return r.text;}).then(eval); });