Module:URI Encode with slashes

local p = {}

p.uriencode = function(frame) local output = mw.ustring.gsub(mw.uri.encode(frame.args[1], "PATH"), "%%2F", "/") return output end

return p