Module:Delink: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(limit strip marker removal to ref tags) |
m (use "refs" instead of "ref" in line with other parameter names) |
||
Line 146: | Line 146: | ||
local function _delink(args) |
local function _delink(args) |
||
local text = args[1] or "" |
local text = args[1] or "" |
||
if args. |
if args.refs == "yes" then |
||
-- Remove any [[Help:Strip markers]] representing ref tags. In most situations |
-- Remove any [[Help:Strip markers]] representing ref tags. In most situations |
||
-- this is not a good idea - only use it if you know what you are doing! |
-- this is not a good idea - only use it if you know what you are doing! |