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