Module:Wikidata: Difference between revisions

Content deleted Content added
trim whitespace from unnamed parameter
ensure f is always a string
Line 964:
local qid = frame.args.qid
if qid == "" then qid = nil end
local f = mw.text.trim( frame.args[1] or "")
local entity = mw.wikibase.getEntity(qid)
if not entity then