Module:Delink: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(sync from sandbox per WP:VPT discussion;) |
Dinoguy1000 (talk | contribs) (fix typo) |
||
Line 185: | Line 185: | ||
text = delinkLinkClass(text, "^%[%[.-%]%]", delinkWikilink) -- De-link wikilinks and return the label portion of the wikilink. |
text = delinkLinkClass(text, "^%[%[.-%]%]", delinkWikilink) -- De-link wikilinks and return the label portion of the wikilink. |
||
elseif 'target' == args.wikilinks then |
elseif 'target' == args.wikilinks then |
||
text = delinkLinkClass(text, "^%[%[.-%]%]", delinkWikilink_tgt) -- De-link wikilinks and return the target portions of the |
text = delinkLinkClass(text, "^%[%[.-%]%]", delinkWikilink_tgt) -- De-link wikilinks and return the target portions of the wikilink |
||
end |
end |
||
if not (args.urls == "no") then |
if not (args.urls == "no") then |