66 729
contributi
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 377: | Riga 377: | ||
if Item['claims']['P58'] then | if Item['claims']['P58'] then | ||
local | local Statements = mw.wikibase.getAllStatements(Item, 'P58') | ||
for _, | for _, Statement in pairs(Statements) do | ||
local Reference = mw.wikibase.getSitelink( | local Reference = mw.wikibase.getSitelink(Statement.mainsnak.datavalue.value.id) | ||
if frame.args['AddSemantic'] then | if frame.args['AddSemantic'] then | ||
Reference = "Riferimento::" .. Reference | Reference = "Riferimento::" .. Reference |