[Moin-user] common user homepages

Ted Stern dodecatheon at gmail.com
Wed Aug 6 14:15:03 EDT 2008


On 06 Aug 2008 03:45:27 -0700, mail at heavy.ch wrote:
>
> Hi Ted
>
> You also need to change the intermap.txt on every wiki's data
> dir. only edit your "main" intermap.txt is not enough. I'm using
> symlink for this, so I do have a central intermap.txt file...

I did this already, as part of consolidating my farm.

>
> the config option "shared_intermap" did not working in my config
> (don't know why). also don't forget to set a interwikiname for every
> wiki

Still not clear:

I have farmconfig.py, onewiki.py, twowiki.py, etc.

What I currently do is set

    interwikiname = 'OneWiki'

in farmconfig.py, but in twowiki.py, threewiki.py, etc., I set

    interwikiname = 'TwoWiki'

or
    interwikiname = 'ThreeWiki',

etc., so that the main page link at the top of the page will work.
And I still don't see how this works for links to other user's
UserName homepages.

Ted

>
> bye
> Marcel
>
> Am Dienstag, den 05.08.2008, 10:19 -0700 schrieb Ted Stern:
>
>     On 05 Aug 2008 00:20:26 -0700, mail at heavy.ch wrote:
>     >
>     > Hi Ted
>     >
>     > Then you need to put your wikies also in the InterWiki Map (search
>     > for intermap.txt in your data dir) like: HeavyWiki http://www.heavy.ch/
>     >
>     > and also check that you use in your wikiconfig-xy.py the same
>     > interwikiname like:
>     > interwikiname = 'HeavyWiki'
>     >
>     > with the parameter cookie_domain = 'heavy.ch' you could also use a
>     > "single login" for every wiki (only working if you use different
>     > "sub"-domains and not /pathnames for your wikies) see
>     > http://moinmo.in/HelpOnSessions
>     >
>     > bye
>     > Marcel
>     
>     Thanks Marcel, but this is still not quite clear.
>     
>     I have several wikis, run as a farm:
>     
>                 http://foo.bar.com/OneWiki/
>                 http://foo.bar.com/TwoWiki/
>                 http://foo.bar.com/ThreeWiki/
>                 http://foo.bar.com/FourWiki/
>     
>     I set
>     
>             user_homewiki = 'OneWiki'
>     
>     and 'OneWiki' is already an entry in intermap.txt.  It seems like I
>     would not want to change the interwiki name for TwoWiki, ThreeWiki or
>     FourWiki, would I?  Because then other pages would get screwed up if I
>     tried to link between wikis.
>     
>     When I'm on TwoWiki, how does MoinMoin know that the wiki page
>     TedStern is actually a homepage on OneWiki?  It clearly works for my
>     personal homepage when I'm logged in, but I don't see how it can work
>     for other users.  If I'm logged in as TedStern, I'd like to be able to
>     click on 
>     
>                http://foo.bar.com/FourWiki/JoeUser
>     
>     and be taken directly to
>     
>                http://foo.bar.com/OneWiki/JoeUser
>     
>     instead.
>     
>     Ted
>     
>     >
>     > Am Montag, den 04.08.2008, 11:45 -0700 schrieb Ted Stern:
>     >
>     >> On 01 Aug 2008 21:28:13 -0700, Rick Vanderveer wrote:
>     >> >
>     >> > It sounds like you want the "user_homewiki" directive (I have the same
>     >> > set-up).  See http://moinmo.in/HelpOnConfiguration for details.
>     >> >
>     >> 
>     >> Thanks Rick,
>     >> 
>     >> I've found this and implemented it.
>     >> 
>     >> It does about half of what I want:  a user's homepage link at the top
>     >> of the page (after login) goes to the central user_homewiki.
>     >> 
>     >> However, UserName-type links, such as those you would see in the lists
>     >> in AccessGroup pages, still point to pages on the separate wikis.
>     >> 
>     >> The whole point of the exercise is that you want to avoid requiring
>     >> users to enter their HomePage information more than once.
>     >> 
>     >> Ted
>

-- 
 Frango ut patefaciam -- I break so that I may reveal




More information about the Moin-user mailing list