local p =
function p.getEditCount(frame) local user = frame.args[1] -- Extract the username from the module invocation arguments local count = mw.user.getEditCount(user) -- Fetch the edit count for the specified user return tostring(count) -- Return the edit count as a stringend
return p