Module:links: Difference between revisions

m
Added test thing, will remove later
mNo edit summary
m (Added test thing, will remove later)
Line 20: Line 20:
link = link .. "#" .. string.gsub(data.language.name, " ", "_")
link = link .. "#" .. string.gsub(data.language.name, " ", "_")
end
end
return "[[" .. link .. "|" .. alt .. "]]"
return "[[" .. link .. "|" .. alt .. "]]" .. mw.title.getCurrentTitle().fragment
end
end
end
end