Modul:Stadtwikis: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 2: Zeile 2:
local c = require( "Module:Common" )
local c = require( "Module:Common" )


function getUrls(frame)
function GetUrls(frame)
urls = {
local urls = {
         "https://www.fuerthwiki.de/wiki/api.php",  
         "https://www.fuerthwiki.de/wiki/api.php",  
    "https://oesterreichwiki.org/w/api.php",
    "https://oesterreichwiki.org/w/api.php",
Zeile 30: Zeile 30:
     local urls = getUrls()
     local urls = getUrls()
     local results = {}
     local results = {}
    local stat, info
   
     for i = 1, #urls do
     for i = 1, #urls do
         local data_stat = mw.ext.externalData.getWebData{  
         local data_stat = mw.ext.externalData.getWebData{  
Zeile 43: Zeile 45:
         }
         }
     end
     end
h='<table class="wikitable sortable"><tr>'..
local h='<table class="wikitable sortable"><tr>'..
'<th>Wiki URL</th>'..
'<th>Wiki URL</th>'..
'<th>Artikel</th>'..
'<th>Artikel</th>'..
82.367

Bearbeitungen