Module:URL: Difference between revisions
Content deleted Content added
Antoniokf5 (talk | contribs) m 1 revision imported from wikipedia:Module:URL |
Antoniokf5 (talk | contribs) m 1 revision imported from wikipedia:Module:URL |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 54:
-- If it's an HTTP[S] URL without the double slash, fix it.
url = mw.ustring.gsub(url, '^[Hh][Tt][Tt][Pp]([Ss]?):(/?)([^/])', 'http%1://%3')
local uri = safeUri(url)
|