Modulo:Interprogetto/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m correggo
mNessun oggetto della modifica
Riga 141:
self.entity.claims[property_language] and
self.entity.claims[property_language][1].mainsnak.datavalue.type == 'wikibase-entityid' then
local entityId = 'Q' .. self.entity.claims[property_language][1].mainsnak.datavalue.value.['numeric-id']
local claims = mw.wikibase.getBestStatements(entityId, 'P424')
if claims[1] and claims[1].mainsnak.datavalue.value then