45,640
edits
No edit summary |
No edit summary |
||
Line 284: | Line 284: | ||
translits_formatted = " (" .. table.concat(data.translits, " <i>or</i> ") .. ")" | translits_formatted = " (" .. table.concat(data.translits, " <i>or</i> ") .. ")" | ||
local transliteration_page = mw.title.new(data.lang:getCanonicalName() .. " transliteration", " | local transliteration_page = mw.title.new(data.lang:getCanonicalName() .. " transliteration", "") | ||
if transliteration_page then | if transliteration_page then | ||
local success, exists = pcall(function () return transliteration_page.exists end) | local success, exists = pcall(function () return transliteration_page.exists end) | ||
if success and exists then | if success and exists then | ||
translits_formatted = " [[ | translits_formatted = " [[" .. data.lang:getCanonicalName() .. " transliteration|•]]" .. translits_formatted | ||
end | end | ||
end | end |