Advertisement:
View source for Module:URL
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
--
-- This module implements {{URL}}
--
-- See unit tests at [[Module:URL/testcases]]
local p = {}
local function safeUri(s)
local success, uri = pcall(function()
return mw.uri.new(s)
end)
if success then
return uri
end
end
local function extractUrl(args)
for name, val in pairs(args) do
if name ~= 2 and name ~= "msg" then
local url = name .. "=" .. val;
000
1:0
Templates used on this page:
- Template:Ml (view source)
- Template:Module link (view source)
- Template:Module other (view source)
- Template:Module rating (view source)
- Template:Ombox (view source)
- Template:Sandbox other (view source)
- Template:Tag (view source)
- Template:Template link (view source)
- Template:Template link expanded (view source)
- Template:Tl (view source)
- Template:Tlx (view source)
- Template:Used in system (view source)
- Module:Arguments (view source)
- Module:Effective protection level (view source)
- Module:High-use (view source)
- Module:Message box (view source)
- Module:Message box/configuration (view source)
- Module:Message box/ombox.css (view source)
- Module:No globals (view source)
- Module:Separated entries (view source)
- Module:String (view source)
- Module:TableTools (view source)
- Module:Template link general (view source)
- Module:Transclusion count (view source)
- Module:Transclusion count/data/U (view source)
- Module:URL/doc (view source)
- Module:Yesno (view source)
Return to Module:URL.