Anonymous user
Module:Delink: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
don't use globals
(use Module:Arguments) |
(don't use globals) |
||
Line 1:
-- This module de-links most wikitext.
require('Module:No globals')
local p = {}
Line 115 ⟶ 117:
s = mw.ustring.match(s, "^%s*(%S.*)$") or "" -- If the separating character was a space, trim it off.
local s_decoded = mw.text.decode(s, true)
if mw.ustring.match(s_decoded, "%c") then
return s
|