Module talk:I18n
{{oldtfdfull|date= 2020 September 15 |result=no consensus |disc=Module:I18n}}
{{WPBS|
{{WikiProject Software}}
{{WikiProject International relations}}
{{WikiProject Languages}}
}}
Request for a more resilient check
This module does the check next(res) ~= nil
to see if the res
table is not empty, and then references res.i18n
assuming that that key exists and contains a table. However, as we have seen recently, this causes errors if that assumption fails. A more resilient check would be type(res.i18n) == "table"
. Thayts ••• 21:19, 30 September 2019 (UTC)