Gary Thomas wrote:
> According to the Wiki documentation, I should be able to put a
> reference (link) to an attachment within my document.  I can't
> get this to work and the reference doesn't seem to work properly
> either.  Please look at:
>   http://www.mlbassoc.com/a_m/trac/wiki/WikiFormatting
>
> There's a list of possible reference/link types.  The one for 
> attachments seems broken.  Is this a known problem?
>   
The example was broken in WikiFormatting, but was working in WikiLinks,
so I copied the attachment example from WikiLinks to WikiFormatting on
Trac's Trac. Then I noticed that it's a link to a ticket's attachment,
not a wiki page's attachment.

I added an attachment to WikiFormatting and created a link to in the
same page, and it works ok. Apparently, it was broken before because the
mentioned file didn't exist.

Then I tried to add a link on WikiLinks to WikiFormattings's attachment,
but was unable to. I tried
attachment:wiki:TracFormatting:sample_attachment.txt,
attachment:wiki:TracFormatting/sample_attachment.txt, both variants
surrounded by square brackets, but none of them worked.

So now the question is: how to link to another wiki page's attachment?
Have we found a bug?

HTH,
Daniel Serodio
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to