Module:Wikidata: Difference between revisions

Content deleted Content added
update from /sandbox: delimiter and arbitrary access for some calls
update delimiter code with code from WIkidataIB
Line 513:
local propertyID = mw.text.trim(frame.args[1] or "")
local input_parm = mw.text.trim(frame.args[2] or "")
local delimdefault = ", " -- **internationalise later**
local delim = mw.text.trim(frame.args.delimiter or ", ")
delim = string.gsub(delim, '"', '')
if #delim == 0 then
delim = delimdefault
end
local qid = frame.args.qid
if qid and (#qid == 0) then qid = nil end