MediaWiki:Common.js: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 2:
if ( mw.config.get('wgPageName') === 'Current_worldguards' ) {
function fetch_worldguard_data() {
fetch("https://
.then(function(response) {
if (response.ok) {
Line 14:
var list = document.createElement('ul');
for (var
var li = document.createElement('li');
li.innerHTML = data[
list.appendChild(li);
div_for_worldguard_list.appendChild(list);
|