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