Module:URLEncode

From The Joe Frank Wiki
Revision as of 07:55, 27 October 2024 by Ramon (talk | contribs) (for dynamic infobox)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:URLEncode/doc

local p = {}

function p.encode(frame)
    local str = frame.args[1] or ''
    return mw.uri.encode(str, 'PATH')
end

return p