Module:String2: Difference between revisions

Content deleted Content added
add urldecode function
transform invalid types to default
Line 223:
p._urldecode = function(url, type)
url = url or ""
type = (type == "PATH" or type == "WIKI") and type
return mw.uri.decode( url, type )
end