Module:headword: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 731: Line 731:
------    otherwise fall back to the overall script if given. If neither given, autodetect the script.
------    otherwise fall back to the overall script if given. If neither given, autodetect the script.
local auto_sc = data.lang:getScripts(head.term)
local auto_sc = require("Module:scripts").getByCode(data.lang:getScriptCodes(head.term))
if (
if (
auto_sc:getCode() == "None" and
auto_sc:getCode() == "None" and

Navigation menu