Для документации этого модуля может быть создана страница Модуль:TableOfChemicals/doc
return { test = function()
local ok, result = pcall(function()
local s = mw.site; if s and s.stats then return tostring(s.stats) else return "no stats" end
end)
if ok then return tostring(result) else return 'ERR: ' .. tostring(result) end
end, }