模块:PathEncoder

来自维阿百科
跳转至: 导航搜索

此模块的文档可以在模块:PathEncoder/doc创建

local p = {}

function p.encode(frame)
	local args = (frame == mw.getCurrentFrame() and frame.args) or frame
	return mw.uri.encode(args.str,'PATH')
end
	
return p