Module:Delink: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
deal with multiple-line external links
(full delete character handling in urls)
(deal with multiple-line external links)
Line 96:
-- Assume we have already delinked internal wikilinks, and that
-- we have been passed some text between two square brackets [foo].
-- If the text contains a line break it is not formatted as a URL, regardless of other content.
if mw.ustring.match(s, "\n") then
return s
end
-- Check if the text has a valid URL prefix and at least one valid URL character.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu