Module:Delink: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
decode HTML entities in URLs
m (use "refs" instead of "ref" in line with other parameter names)
(decode HTML entities in URLs)
Line 119:
s = mw.ustring.match(s, '^.-(["<> ].*)') or "" -- Grab all of the text after the first URL separator character ("<> ).
s = mw.ustring.match(s, "^%s*(%S.*)$") or "" -- If the separating character was a space, trim it off.
s = mw.text.decode(s, true)
return s
end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu