Content deleted Content added
major update to use getAllStatements instead of getEntity |
trap when there's no Wikidata item for the current page |
||
Line 228:
local qid = args.qid or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
-- if there's no Wikidata item for the current page return nil
if not qid then return false, nil end
-- The blacklist is passed in named parameter |suppressfields
|