Content deleted Content added
add call for getImages as Module talk:Wikidata #Compatible Templates |
+getSiteLink tested in ukwikiquote |
||
Line 678:
i = i + 1
end
end
-- getting sitelink of a given wiki
function p.getSiteLink(frame)
local f = frame.args[1]
local entity = mw.wikibase.getEntity()
local link = entity:getSitelink( f )
if not link then
return
end
return link
end
|