Module:Wikidata: Difference between revisions

Content deleted Content added
add a call getValueFromID to make use of arbitrary access
arbitrary access in Dump using named parameter "id=Qnumber"
Line 645:
 
function p.Dump(frame)
local f = (frame.args[1] or frame.args.id) and frame or frame:getParent()
local data = mw.wikibase.getEntityObject(f.args.id)
if not data then
return i18n.warnDump
end
 
local f = frame.args[1] and frame or frame:getParent()
 
local i = 1