Module:links: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 490: Line 490:
-- Link to the transliteration entry for languages that require this
-- Link to the transliteration entry for languages that require this
if data.tr and data.lang:link_tr() then
if data.tr and data.lang:link_tr() then
data.tr = require("Module:script utilities").tag_text(export.language_link(data.tr, allow_self_link))
data.tr = require("Module:script utilities").tag_text(export.language_link(data, allow_self_link))
elseif data.tr then
elseif data.tr then
data.tr = "''" .. data.tr .. "''"
data.tr = "''" .. data.tr .. "''"