[Moin-user] linking on wiki farm

Matthew Brett matthew.brett at gmail.com
Thu Feb 22 05:50:14 EST 2007


Hi,

> Is there an easy way to link to pages on a different wiki that's hosted on
> the same server (i.e. in a wiki farm)?
>
> For example, right now we have a separate wiki for each project (called
> Alpha, Beta, etc).  If I want to refer to a set of instructions that's on
> the second project, I'm using the full URL:
> [http://wiki.domain.com/Beta/SomeDocument Look at this]

You need to set up interwiki names for your farm.  On mine:

farmconfig.py:
     shared_intermap = '/usr/local/var/moin/intermap.txt'

individual wiki configs - here basewiki.py
     interwiki_name = 'CbuBaseWiki'

where /usr/local/var/moin/internap.txt has text lines like this:

CbuBaseWiki http://imaging.mrc-cbu.cam.ac.uk/basewiki/
CbuImaging http://imaging.mrc-cbu.cam.ac.uk/imaging/

Then I can link like this: CbuBaseWiki:SomePage

Best,

Matthew




More information about the Moin-user mailing list