Änderungen

Zur Navigation springen Zur Suche springen
12 Bytes hinzugefügt ,  16:39, 5. Mai 2021
keine Bearbeitungszusammenfassung
Zeile 18: Zeile 18:  
if Pagename == nil then return 'Foo' end
 
if Pagename == nil then return 'Foo' end
 
local returnString = ""
 
local returnString = ""
     local queryResult =  mw.smw.ask('[['..Pagename..']]|?Seitentyp')
+
     local queryResult =  mw.smw.ask('[['..Pagename..']]|?Seitentyp|mainlabel=-')
 
     if queryResult == nil then return "Foobar" end
 
     if queryResult == nil then return "Foobar" end
 
     local i = 1
 
     local i = 1

Navigationsmenü