Changes

3 bytes added ,  14:15, 13 September 2020
no edit summary
Line 719: Line 719:  
-- if it's not supplied, use the id for the current page
 
-- if it's not supplied, use the id for the current page
 
local qid = args.qid or ""
 
local qid = args.qid or ""
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
+
-- if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
 
-- if there's no Wikidata item for the current page return nil
 
-- if there's no Wikidata item for the current page return nil
 
if not qid then return false, input_parm end
 
if not qid then return false, input_parm end