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