]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/emails_should_not_be_considered_as_broken_links.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / emails_should_not_be_considered_as_broken_links.mdwn
1 The [[ikiwiki/directive/brokenlinks]] directive lists emails when used inside [[ikiwiki/wikilink]]s: \[[john.doo@example.com\]] -> [[john.doo@example.com]]. Obviously its is a bug since 1) there is a link generated in the page; 2) "fixing" the broken link in the brokenlinks page may yield to stange results [[http://ikiwiki.info/ikiwiki.cgi?page=john.doo__64__example.com&do=create]]. [[JeanPrivat]]
2
3 [[!brokenlinks pages="*@* and !recentchanges"]]
4
5 > Weird.  The bug, imho, is that `\[[email-address]]` results in a marked-up email address. I think marking up email addresses into hyperlinks should be handled by a markup plugin (e.g. markdown), not by the wikilink parser. I feel the same way for external links, but it appears [this is all by design](http://source.ikiwiki.branchable.com/?p=source.git;a=commitdiff;h=07a08122d926ab6b7741c94bc6c0038ffe0113fb). — [[Jon]]
6
7 >> I belive this was done for compatability with the wikicreole plugin.
8 >> Since in creole, a wikilink can contain an email or full html link, 
9 >> and it was easier to make ikiwiki's wikilinks do so too, rather
10 >> than put entirely different link handling into creole.
11 >>
12 >> Anyway, I've fixed this. [[done]] --[[Joey]]