Module:Wikidata: Difference between revisions

Content deleted Content added
+ parameter 'id' to ViewSomething
getSiteLinks: Don't error if entity is not found
Line 754:
local f = frame.args[1]
local entity = mw.wikibase.getEntity()
if not entity then
return
end
local link = entity:getSitelink( f )
if not link then