Jump to content

Module:Delink: Difference between revisions

m 1 revision imported: Add Infobox stuff and templates
m Text replacement - "Help:Colon trick" to "wikipedia:Help:Colon trick"
 
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("%[%[:(.*%]%])")