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