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