Modulo:Sandbox/Laurentius: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 32:
end
function p.
local args = getArgs(frame)▼
local points = {}
for _, qid in pairs(
if mWikidata._getProperty({'P625', from = qid, snaktype = 'value'}) then
table.insert(points, p.map_point(qid))
Riga 44 ⟶ 42:
return mw.text.jsonEncode(points)
end
function p.map_data(frame)
▲ local args = getArgs(frame)
return p._map_data(args)
end
|