User talk:Glaisher/setGlobalPrefs.js
Latest comment: 7 years ago by Dixtosa
You can also make it possible to replicate the settings one has on a local project.
function getLocalSettingsPromise() //Async!
{
return fetch('/w/api.php?action=query&meta=userinfo&uiprop=options&format=json')
.then(resp => resp.json().then(r => $.param(r.query.userinfo.options).replace(/&/g, "|")));
}