48,355
edits
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. | ||
------ 6b. Try to detect the script(s) if not provided. If a per-head script is provided, that takes precedence, | |||
------ otherwise fall back to the overall script if given. If neither given, autodetect the script. | |||
local auto_sc = data.lang:findBestScript(head.term) | |||
if ( | if ( | ||
auto_sc:getCode() == "None" and | auto_sc:getCode() == "None" and | ||