Alternate wiki

Added by James Turnbull over 9 years ago

Hi all

Further investigation reveals that Redmine doesn't support Restructured text so we're looking at integrating an alternate wiki, moin moin or ikwiki for example. Has anyone done this and if so how did you go about doing it? Is there a ready way to add links to the Project nav bar? I note enabling and disabling the Wiki module removes the link. I'll just hack the code if this doesn't work but thought I'd ask if there is an alternate mehtod that I couldn't spot.

Many Thanks

James Turnbull

Replies (4)

RE: Alternate wiki - Added by Carl Nygard over 9 years ago

Can you be more specific about what you want to add to the project nav bar?

RE: Alternate wiki - Added by James Turnbull over 9 years ago

Well where the current Wiki icon is linked to the Wiki module we'd want to link off to an external wiki. I am gathering the nav bar isn't customisable like that. I was also seeking feedback methods to integrate an alternative wiki.

Thanks

James Turnbull

RE: Alternate wiki - Added by Carl Nygard over 9 years ago

Not sure what to tell you. If your existing docs use a subset of restructured that maps well to the redcloth wiki, then you should be able to write a translator to format your code and add it to your project. I've done that with mediawiki pages, and it works fine. The MVC architecture makes writing the script fairly easy. I can give you the code if you want a starting point (I actually started with the wiki translation code from the migrate_from_trac.rake file).

If there's a restructured parser implementation in ruby, you might be able to hack it in. look at ./lib/redmine/wiki_formatting.rb file, and the ./app/helpers/wiki_helper.rb code to see what's being done currently.

RE: Alternate wiki - Added by James Turnbull over 9 years ago

Sadly there is no RST parser for Ruby. If there was I'd add RST as another text formatting option along with Textile.

But thanks for your feedback. I'll have to look at alternate methods to do this.

Cheers

James Turnbull

(1-4/4)