Module:Delink: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
deal with multiple pipes in the reverse pipe trick
(better variable name)
(deal with multiple pipes in the reverse pipe trick)
Line 29:
 
local function delinkReversePipeTrick(s)
returnif mw.ustring.match(s, "^%[%[|(.*)%]%]|") then -- Check for multiple pipes.
return s
else
return mw.ustring.match(s, "%[%[|(.*)%]%]")
end
end
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu