Module:languages/names/generate: Difference between revisions
< Module:languages | names
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
local export = {} | local export = {} | ||
function export.show( | function export.show() | ||
local languages = require("Module:languages").languages | local languages = require("Module:languages").languages | ||
local ret = "return {" | local ret = "return {" | ||
Line 10: | Line 8: | ||
end | end | ||
ret = ret .. "\n}" | ret = ret .. "\n}" | ||
return | return ret | ||
end | end | ||
return export | return export |
Revision as of 07:16, 6 August 2023
Generates up-to-date output that can be used to set the value of Module:languages/names.
Result
<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-0">Lua error at line 6: bad argument #1 to 'ipairs' (table expected, got nil).</span></strong>