Module:Url
Jump to navigation
Jump to search
| Module Documentation [edit] |
|---|
|
A utility module for dealing with URLs. Usagelocal url = require('Module:Url')
local p = {}
function p.main(frame)
local hostname = url.hostname(frame.args[1])
-- Main module code goes here.
end
return p
HostanmeExtract hostname from the URL. {{#invoke:Url|hostname|https://www.example.com/}}
|