Module:TNT: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 35: Line 35:
function p.link( frame )
function p.link( frame )
local dataset = 'Data:' .. (frame.args[1] or '')
local dataset = 'Data:' .. (frame.args[1] or '')
if mw.site.siteName() == 'Wikimedia Commons' then
if mw.site.siteName == 'Wikimedia Commons' then
return dataset
return dataset
else
else