Anonymous user
Module:URL: Difference between revisions
per edit request on talk page - update
(fixes for pen icon) |
imported>Paine Ellsworth (per edit request on talk page - update) |
||
(One intermediate revision by one other user not shown) | |||
Line 54: | Line 54: | ||
-- If it's an HTTP[S] URL without the double slash, fix it. | -- 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') | url = mw.ustring.gsub(url, '^[Hh][Tt][Tt][Pp]([Ss]?):(/?)([^/])', 'http%1://%3') | ||
local uri = safeUri(url) | local uri = safeUri(url) |