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