Module:sish-headword: Difference between revisions

No edit summary
No edit summary
Line 125: Line 125:


local sc = lang:findBestScript(pagename)
local sc = lang:findBestScript(pagename)
data.sc = sc == "None" and "sish-Armn" or sc
local other_sc
local other_sc
Line 181: Line 180:
head.tr = nil
head.tr = nil
end
end
head.sc = require("Module:scripts").getByCode(sc)
end
end
data.heads = heads
data.heads = heads