aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/emails_should_not_be_considered_as_broken_links.mdwn
blob: 5aad1292ac5d8553d4bc8617f2a6fdab3d3238b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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]]

[[!brokenlinks pages="*@* and !recentchanges"]]

> 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]]

>> I belive this was done for compatability with the wikicreole plugin.
>> Since in creole, a wikilink can contain an email or full html link, 
>> and it was easier to make ikiwiki's wikilinks do so too, rather
>> than put entirely different link handling into creole.
>>
>> Anyway, I've fixed this. [[done]] --[[Joey]]