47,726
edits
![]() | We're back! Sorry, bad combo of sickness, funeral and a month-long trip abroad. The site is back now. ![]() |
No edit summary |
No edit summary |
||
Line 883: | Line 883: | ||
------ 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 | local auto_scs = data.lang:getScripts() | ||
for _, auto_sc in ipairs(auto_scs) do | |||
if auto_sc:getCode() == find_best_script_without_lang(head.term):getCode() then | |||
break | |||
end | |||
end | |||
if ( | if ( | ||
auto_sc:getCode() == "None" and | auto_sc:getCode() == "None" and |