Module:Wikidata: Difference between revisions

Content deleted Content added
Move the "article is not yet available" warning to i18n table and set debug=false
+ parameter 'id' to ViewSomething
Line 724:
-- look into entity object
function p.ViewSomething(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 nil
end
 
local f = frame.args[1] and frame or frame:getParent()
 
local i = 1