Page MenuHomePhabricator

Wanted: Wikidata user script to add links using IIIF data
Closed, ResolvedPublic

Description

The URL:

https://tools.wmflabs.org/zoomviewer/proxy.php?iiif=Godward_Idleness_1900.jpg/pct:65,81,35,15/full/0/default.jpg

shows a section of File:Godward_Idleness_1900.jpg, cropped according to the values: 65,81,35,15.

We also hold those values in Wikidata, using "relative position within image (P2677)", aka "IIIF syntax relative position" - see the "kitten (Q147)" value at:

https://www.wikidata.org/wiki/Q19953492#P180

We need a user script (maybe one day a gadget) to add a link like the example above, including the applicable value of "image (P18)", to the IIIF values displayed on the Wikidata item.

Please can someone make one?

Event Timeline

Lovely, thank you.

On https://www.wikidata.org/wiki/Q17335769 there is a value, " earring" (Q168456), with two Property:P2677 qualifiers. Can the script be made to handle such cases, please?

Pigsonthewing claimed this task.

Marking as resolved.