Opened 15 years ago
Closed 15 years ago
#9016 closed defect (duplicate)
Creating wiki link to resource identified by ‘mid’ (message identifiation) URI scheme is impossible
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | 0.11.5 |
Severity: | normal | Keywords: | wiki text, wiki links, Message-IDs, email, mid URI scheme |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I tried to put a link to an email message – identified by its Message-ID – inside a Trac wiki text in a Trac 0.11.5 installation. That did not work. Trac seems not to support the ‘mid’ scheme.
This is an example of what I tried to do:
[mid:1234567890.abcdef@mail.trac.example sample message]
As that did not work, I attempted to work around the issue by using the following:
{{{ #!html <a class="ext-link" href="mid:1234567890.abcdef@mail.trac.example"><span class="icon"> </span>sample message</a> }}}
That did not work as well: Trac silently removed the href
attribute from the HTML a
element.
For both of the two methods explained above, I expected Trac to include the following in the generated markup:
<a class="ext-link" href="mid:1234567890.abcdef@mail.trac.example"><span class="icon"> </span>sample message</a>
Assuming links like
<a href="mid:1234567890.abcdef@mail.trac.example" > ...
are meaningful to you, they can be allowed by creating an InterMapTxt entry which goes like that:See #2989 and InterWiki@13#Definition (second paragraph).