Module:WikidataIB/sandbox1: Difference between revisions

Content deleted Content added
debug date separator
need to look for non-breaking spaces as well for date separator
Line 535:
end
end -- of loop through qualifiers
iflocal t1t >= ""t1 or.. t2 > "" then
-- *** internationalise date separators later ***
if t:find("%s") or t:find(" ") then dsep = " – " else dsep = "–" end
local t = t1 .. t2
if t:find("%s") then dsep = " – " else dsep = "–" end
end
-- *** implement assembleoutput later ***
if #qlist > 0 then
out[#out] = out[#out] .. " (" .. table.concat(qlist, ", ") .. ")"
elseif dsept > "" then
out[#out] = out[#out] .. " (" .. t1 .. dsep .. t2 .. ")"
end