Jump to content

Template talk:Infobox ancient site/Archive 2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 1Archive 2

Undocumented Wikidata image behavior - broken

There's some sort of an image 'FETCH_WIKIDATA' feature being used here, that I only noticed when I added a skeleton version of this template at Vučedol. Wikidata there seems to reference two image files, and then this gets a comma-separated list of these, and instead of generating two image thumbnails, it generates a broken upload link. Can someone fix it please? --Joy [shallot] (talk) 18:50, 15 June 2022 (UTC)

History indicates this was added in this 2017 edit by Capankajsmilyo, and didn't get changed since. In the meantime I noticed that module is marked as deprecated, and Module:WikidataIB#Limiting the returned values seems to deal with this kind of an issue, so it looks like a conversion is in order. --Joy [shallot] (talk) 19:02, 15 June 2022 (UTC)

I tried to reproduce/convert this at Template:Infobox ancient site/testcases#Test 6 but the issue doesn't seem to be happening there...? --Joy [shallot] (talk) 19:23, 15 June 2022 (UTC)

 Fixed. – Jonesey95 (talk) 13:31, 17 June 2022 (UTC)
Thanks! So, the draft testcase didn't work because of that 'qid' missing? Was the rank=best change necessary or just a quality of life change? --Joy [shallot] (talk) 14:16, 21 June 2022 (UTC)
Yes to the qid testcase question. I am not sure about the rank=best change; I copied it from a known working template that was trying to do the same sort of thing. – Jonesey95 (talk) 14:39, 21 June 2022 (UTC)