Module:headword: Difference between revisions

No edit summary
No edit summary
 
Line 1,096: Line 1,096:
-- Add the entry to a cleanup category.
-- Add the entry to a cleanup category.
if not head.tr then
if not head.tr then
local no_tr = true
head.tr = "<small>transliteration needed</small>"
head.tr = "<small>transliteration needed</small>"
-- FIXME: No current support for 'Request for transliteration of Classical Persian terms' or similar.
-- FIXME: No current support for 'Request for transliteration of Classical Persian terms' or similar.
Line 1,109: Line 1,108:


-- Link to the transliteration entry for languages that require this.
-- Link to the transliteration entry for languages that require this.
if head.tr and data.lang:link_tr(head.sc) and not no_tr then
if head.tr ~= "<small>transliteration needed</small>" and data.lang:link_tr(head.sc) then
head.tr = full_link{
head.tr = full_link{
term = head.tr,
term = head.tr,