--<nowiki> Gives stats about mentoring 
local p = {}
function p.main(frame)
    -- local args = require("Dev:Arguments").getArgs(frame)
    local completed = pagesincat("Completed_requests","all")
    -- local on_hold = pagesincat("Completed_requests","all")
    local totRequests = pagesincat("Mentoring_requests","all")
    local completionRate = round(completed / totRequests, 2 )
    return "'''Progress''': " .. (completionRate * 100).. "% of requests done."
function pagesincat(cat, prop)
    return (cat, prop)
function round(num, idp)
    return tonumber(string.format("%." .. (idp or 0) .. "f", num))
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.