[Pmwiki-users] Re: Re: Getting rid of the group 'Main'

Christian Ridderström chr
Tue Feb 17 22:04:39 CST 2004


On Tue, 17 Feb 2004, Patrick R. Michaud wrote:

> On Wed, Feb 18, 2004 at 05:39:55AM +0100, Christian Ridderstr?m wrote:
> > >   # change the location of the SearchWiki page
> > >   XLSDV('en',array('Main/SearchWiki'=>'Site/SearchWiki'));
> > > [...]
> > > Upon looking at this I suppose that I really should change the
> > > $RecentChanges array to use '$DefaultGroup.AllRecentChanges' instead
> > > of 'Main.AllRecentChanges' (doing this would make this last part
> > > unnecessary).
> >
> > Probably, IMO it's also more consistent with the principle of least
> > surprise.
> 
> Actually, I suspect it would be a big surprise if changing $DefaultGroup
> suddenly caused the search to stop working because it was looking in
> the wrong place.  Even you ran into this, with...

No, the least surpise was about

	Upon looking at this I suppose that I really should change the
	$RecentChanges array to use '$DefaultGroup.AllRecentChanges' instead
	of 'Main.AllRecentChanges' (doing this would make this last part
	unnecessary).

> > Works like I charm, but you have to create that page before it works in 
> > practice. 
> 
> So, I think I'll leave it as Main/SearchWiki and we'll document it in
> the "how do I change the default group?" section.

I still don't understand what's wrong with PmWiki/SearchWiki. Could you 
explain that?

/Christian

-- 
Christian Ridderstr?m                           http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list