That's disappointing.  Any idea if this feature will make it into Gitorious 
3?  If not, are new features even being accepted into the 2.x branch?  From 
the Gitorious blog it seems like 3.0 was supposed to land a fairly recently 
but it's all gone a bit quiet.

I had a look at the source code and from what I can see there's a file 
named lib/gitorious/wiki/content.rb which appears to have the pattern for 
detecting wiki links (BRACKETED_WIKI_WORD).  It's then used 
in app/helpers/site_wiki_pages_helper.rb to turn [MyPageLink] into a link 
to MyPageLink.markdown.

I suppose you could pass the git repository in to that method as an 
argument and if you linked to [myFile.jpg], search the HEAD for a file. 
 Presumably you'd then need something on the other end of the URL to 
actually send the file to the user?

It's all a little beyond my Ruby skills, I'm afraid.

Any ideas?

Alex




On Wednesday, May 29, 2013 1:07:29 PM UTC, Marius Mårnes Mathiesen wrote:
>
>
> Alex Potsides writes: 
>
> > Hi, 
> > 
> > This seems like a silly question, but I can't figure it out so I 
> apologise 
> > in advance if I've missed something fundamental. 
> > 
> > I've cloned the wiki repo for my project in Gitorious and added a 
> > non-markdown file to it.  Now I'd like to link to that file from one of 
> the 
> > wiki pages. 
>
> Alex, 
> Although you can *store* non-markdown content in a wiki repo, there's 
> currently no way to render it from the web UI. That would be a welcome 
> feature, though... 
>
> Cheers, 
> - Marius 
>

-- 
-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to