Для документации этого модуля может быть создана страница Модуль:TableOfChemicals/doc
return { test = function()
local ok, result = pcall(function()
if mw.config then local r = {}; local ok, keys = pcall(function() return mw.config.get("*") end); if ok and keys then for k,v in pairs(keys) do r[#r+1] = k end; return table.concat(r, ",") end; return "no keys" end return "no config"
end)
if ok then return tostring(result) else return 'ERR: ' .. tostring(result) end
end, }