https://bugzilla.wikimedia.org/show_bug.cgi?id=72124

Marius Hoch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Q161192 gives an error in   |Calling
                   |lua on wikidata.org         |mw.wikibase.entity.formatPr
                   |                            |opertyValues on Property
                   |                            |fails with
                   |                            |wikibase-error-invalid-enti
                   |                            |ty-id

--- Comment #1 from Marius Hoch <[email protected]> ---
The actual problem is something like:

mw.log(mw.wikibase.getEntityObject('P447'):formatPropertyValues('P1'))
The ID entered is unknown to the system. Please use a valid entity ID.



The example given above works, btw:

mw.log(mw.wikibase.getEntityObject('Q161192'):getLabel())
007 Legends

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to