Last modified: 2014-11-19 12:52:29 UTC
mw.wikibase.getEntityObject(Q161192) gives an nil as an output on wikidata.org, even though visiting that item [[d:Q161192]] does show up with an result. This is an error on [[d:Wikidata:List of properties/Works]], and the cause behind the single invalid ID error on that page.
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
I had another look, the thing seen here was simply that the template call {{List of properties/Row|id=444|example-subject=Q161192|example-object=7.0/10}} passed "7.0/10" as entity id, which is clearly an invalid value. But still there's the other bug I discovered...
Change 170504 had a related patch set uploaded by Hoo man: Make mw.wikibase.entity.formatPropertyValues work for non-items https://gerrit.wikimedia.org/r/170504
Change 170504 merged by jenkins-bot: Make mw.wikibase.entity.formatPropertyValues work for non-items https://gerrit.wikimedia.org/r/170504