Module:DepthCalculator

local p = {}

function p.depth(params) local edits, pages, articles = mw.site.stats.edits, mw.site.stats.pages, mw.site.stats.articles local depth = tostring((edits / pages) * (((pages - articles) / articles) ^ 2)) return depth end

return p