Anonimo

Modulo:DTGenerico: differenze tra le versioni

Da Wikitrek.
ipairs
(Pulizia)
(ipairs)
Riga 141: Riga 141:
table.insert(AllP, 1, "P14")
table.insert(AllP, 1, "P14")
mw.smw.set("AllP=" .. table.concat(AllP, ","))
mw.smw.set("AllP=" .. table.concat(AllP, ","))
for _, Property in pairs(AllP) do
for _, Property in ipairs(AllP) do
table.insert(ListProp, Property)
table.insert(ListProp, Property)
if (not ExcludeP[Property]) and Item.claims[Property][1].mainsnak.datatype ~= 'external-id' then
if (not ExcludeP[Property]) and Item.claims[Property][1].mainsnak.datatype ~= 'external-id' then