Modul:Wikidata utilities: Unterschied zwischen den Versionen
keine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
local fw = { | local fw = { | ||
propertiesArray = {} | |||
} | |||
function fw.checkId( id ) -- only syntax check | function fw.checkId( id ) -- only syntax check | ||
Zeile 76: | Zeile 76: | ||
end | end | ||
if #statements > 0 then | if #statements > 0 then | ||
propertiesArray[ p ] = '' | fw.propertiesArray[ p ] = '' | ||
end | end | ||
return statements | return statements | ||
Zeile 308: | Zeile 308: | ||
result = '' | result = '' | ||
for key, value in pairs( propertiesArray ) do | for key, value in pairs( fw.propertiesArray ) do | ||
result = result .. string.format( formatStr, key ) | result = result .. string.format( formatStr, key ) | ||
end | end |