User:JJPMaster (bot)/markAdmins-Data.js

Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
  • Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac);
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5;
  • Konqueror: simply click the Reload button, or press F5;
  • Opera users may need to completely clear their cache in Tools→Preferences.
const MAparams = {
	action: 'parse',
	page: 'User:JJPMaster (bot)/markAdmins-Data.json',
	prop: 'wikitext',
	format: 'json'
};
api = new mw.Api();

api.get(MAparams).done(data => {
	mw.hook('userjs.script-loaded.markadmins').fire(JSON.parse(data.parse.wikitext['*']));
});