Page MenuHomePhabricator

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


The URL:,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:

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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 26 2018, 7:29 PM
Jheald added a subscriber: Jheald.Jun 26 2018, 9:10 PM
Pigsonthewing added a comment.EditedJun 29 2018, 12:53 PM

Lovely, thank you.

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

Husky added a comment.Jun 29 2018, 1:57 PM

@Pigsonthewing sure thing. This should now work.

Even better. Thank you again.

Pigsonthewing closed this task as Resolved.Jun 29 2018, 2:26 PM
Pigsonthewing claimed this task.

Marking as resolved.

Liuxinyu970226 added a subscriber: Liuxinyu970226.
Liuxinyu970226 removed a subscriber: Liuxinyu970226.