Module:Wikidata: Difference between revisions

Content deleted Content added
Can't index a non-table that is, can definitely index an empty table
Scope /sigh
Line 69:
if input_parm == "FETCH_WIKIDATA" then
local entity = mw.wikibase.getEntityObject()
local claims
if entity and entity.claims then
local claims = entity.claims[propertyID]
end
if claims then