Änderungen

Zur Navigation springen Zur Suche springen
46 Bytes hinzugefügt ,  20:47, 19. Dez. 2021
keine Bearbeitungszusammenfassung
Zeile 36: Zeile 36:  
     while n <= table.getn(Authors)  
 
     while n <= table.getn(Authors)  
 
     do
 
     do
     queryResult =  mw.smw.ask('[[Hauptkategorie::Publikation]][[Kanon::offiziell]][[Autoren::'..Authors[n] ..']]|limit=500')
+
     queryResult =  mw.smw.ask('[[Hauptkategorie::Publikation]][[Kanon::offiziell]][[Autoren::'.. Authors[n] ..']]|limit=500')
 
     ReturnString = ReturnString .. Authors[n] .. "<br>"
 
     ReturnString = ReturnString .. Authors[n] .. "<br>"
 
     m = 1
 
     m = 1
 +
    if queryResult ~= nil then
 
     while m <= table.getn(queryResult)
 
     while m <= table.getn(queryResult)
    do
+
    do
    ReturnString = ReturnString .. '*' .. queryResult[m]
+
    ReturnString = ReturnString .. '*' .. queryResult[m]
    m = m+1
+
    m = m+1
 +
    end
 
     end
 
     end
 
     n = n +1  
 
     n = n +1  

Navigationsmenü