11,951
edits
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
end | end | ||
function p. | function p.test_snapshot(frame) | ||
local id = frame.args.id; | local id = frame.args.id; | ||
local snapshot = mw.wikibase.getEntity(id); | |||
local snapshot_name = snapshot:getLabel(); | |||
local release = snapshot:formatPropertyValues('P9')['value']; | |||
return release | |||
end | end | ||
return p; | return p; |