Jump to content

Module:Delink: Difference between revisions

m Changed protection settings for "Module:Delink": Dependency of fully-protected (and on WP:CASC) Template:Fix ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
 
m Text replacement - "Help:Colon trick" to "wikipedia:Help:Colon trick"
 
(One intermediate revision by the same user not shown)
Line 93: Line 93:
end
end


-- Remove the colon if the link is using the [[Help:Colon trick]].
-- Remove the colon if the link is using the [[wikipedia:Help:Colon trick]].
if result:match("%[%[:") then
if result:match("%[%[:") then
result = "[[" .. result:match("%[%[:(.*%]%])")
result = "[[" .. result:match("%[%[:(.*%]%])")