Bürokraten, Oberflächenadministratoren, SMW-Administratoren, SMW-Kuratoren, SMW-Editoren, Oversighter, Administratoren, Widget-Bearbeiter
215.199
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 3: | Zeile 3: | ||
function p.Versuch(frame) | function p.Versuch(frame) | ||
urls = {"https://www.fuerthwiki.de/wiki/api.php", | |||
"https://oesterreichwiki.org/w/api.php"} | |||
h='<table class="wikitable sortable"><tr>'.. | |||
'<th>Wiki URL</th>'.. | |||
'<th>Artikel</th>'.. | '<th>Artikel</th>'.. | ||
'<th>Bilder</th>'.. | '<th>Bilder</th>'.. | ||
| Zeile 11: | Zeile 14: | ||
'<th>Aktive</th>'.. | '<th>Aktive</th>'.. | ||
'<th>Admins</th>'.. | '<th>Admins</th>'.. | ||
tabelizeData(t).. | '</tr>' | ||
return | for i,url in ipairs(urls) do | ||
t = getAPIdata(url.."?action=query&meta=siteinfo&siprop=statistics&format=json") | |||
h=h..tabelizeData(t) | |||
end | |||
h=h..'</table>' | |||
return h | |||
end | end | ||
--function | |||
function tabelizeData(t) | function tabelizeData(t) | ||
h='<tr>'.. | h='<tr>'.. | ||
Bearbeitungen