From Wikipedia, the free encyclopedia
local p = {}
p.spouse = function(frame)
local entity = mw.wikibase.getEntity()
local label = type(entity.claims.p26["1"])
local out = {}
for k, v in pairs(entity.claims.p26) do
out[#out + 1] = k
end
return table.concat(out, ", ")
end
return p