Module:Delink: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(deal with multiple pipes in the reverse pipe trick) |
(fix bad pattern) |
||
Line 91: | Line 91: | ||
-- Deal with links using the [[Help:Pipe trick]]. |
-- Deal with links using the [[Help:Pipe trick]]. |
||
if mw.ustring.match(s, "[^|] |
if mw.ustring.match(s, "^%[%[[^|]*|%]%]") then |
||
return delinkPipeTrick(s) |
return delinkPipeTrick(s) |
||
end |
end |