48,355
edits
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: | local auto_sc = require("Module:scripts").getByCode(data.lang:getScriptCodes(head.term)) | ||
if ( | if ( | ||
auto_sc:getCode() == "None" and | auto_sc:getCode() == "None" and | ||