Closed larjohn closed 2 years ago
Is there a public instance somewhere running with this extension? We could confirm the datatype name used from its wbgetentities
endpoint
I tried it in my fork and it worked locally. Can you provide a sample query URL to check it on my own instance?
"P10463": [
{
"mainsnak": {
"snaktype": "value",
"property": "P10463",
"hash": "195da2f2a2305807603149bbfd5b74fb886420ac",
"datavalue": {
"value": "HTB15LVlSpXXXXaYXVXXq6xXFXXXl.jpg",
"type": "string"
},
"datatype": "localMedia"
},
"type": "statement",
"id": "Q5385$d72b0aad-4b7a-6ffb-569f-bcd148903bef",
"rank": "normal"
}
]
Thanks, I added localMedia
datatype in 385f096 and published it in v4.15.0
: can you confirm that it works?
I am currently running a batch script, I will try that tomorrow, by the time it has finished processing.
Thanks!
Sorry about the delay, it is OK!
If I am not mistaken, the new data type should have the name
localMedia
(see https://github.com/ProfessionalWiki/WikibaseLocalMedia/blob/master/src/HookHandlers.php).Can it be added to the known datatypes?