Module:Wikidata: Difference between revisions

Content deleted Content added
fix makeOrdinal to account for 11th, 12th, 13th, etc.
avoid error if image has no qualifiers
Line 888:
if (not imglbl) then
for k1, v1 in pairs(imgs) do
if v1.rank == "normal" and v1.qualifiers and v1.qualifiers.P2096 then
local imglbls = v1.qualifiers.P2096
for k2, v2 in pairs(imglbls) do