Module:Delink: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
add "//" url prefix
(better prefix test)
(add "//" url prefix)
Line 8:
-- Check if the text has a valid URL prefix and at least one valid URL character.
local valid_url_prefixes = {"//", "http://", "https://", "ftp://", "gopher://", "mailto:", "news:", "irc://"}
local url_prefix
for i,v in ipairs(valid_url_prefixes) do
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu