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

Legoktm <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Legoktm <[email protected]> ---
Unfortunately that won't work in some cases like commonsMedia or url. If you
look at 
https://www.wikidata.org/w/api.php?action=wbgetentities&ids=q76&format=jsonfm:

                            "property": "P18",
                            "datavalue": {
                                "value": "President Barack Obama.jpg",
                                "type": "string"
                            }

We could probably implement a fallback for the ones that will work like entity,
coordinate and time, and emit a warning like "P288 does not exist"

This error is probably rare to run into since the datatype is cached forever,
but most scripts need to re-cache everything because the ids went uppercase.

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

Reply via email to