User:BernTheWitch/global.js

document.getElementById("test").innerHTML = "888";

switch (mw.config.get('wgPageName')) {	case 'User:BernTheWitch': var apiEndpoint = "https://symphogear-xdu-english.fandom.com/api.php"; var params = "action=parse&format=json&text=" + ""; fetch(apiEndpoint + "?" + params + "&contentmodel=wikitext") .then(function(response){return response.json;}) .then(function(response) {		document.getElementById("test").innerHTML = response.parse.text["*"];	}); break; }