[pmwiki-users] GroupHomePageChange

Patrick R. Michaud pmichaud at pobox.com
Wed Sep 27 17:39:07 CDT 2006

On Thu, Sep 28, 2006 at 08:29:04AM +1000, Kathryn Andersen wrote:
> On Wed, Sep 27, 2006 at 12:48:25PM -0500, Patrick R. Michaud wrote:
> > On Wed, Sep 27, 2006 at 01:35:25PM -0400, Stirling Westrup wrote:
> > With what we have available now, if I had it to do all over
> > again I might go with setting something like
> > 
> >     $DefaultName = '{$Group}';
> > 
> > to mean "home page is named the same as the group".  But I don't
> > know how much I'll break by changing things here, or if this is
> > really the correct approach to take.
> Well, a lot of my setup depends on the fact that the default "home page
> is named the same as the group" is what happens when one is creating a
> new group.  

Mine too.  Although this is less important in my sites now that we
have the ability to specify [[Group/]] and [[Group.]].

> I think the problem is more in the inconsistency, because
> with the Main group, the home page is always HomePage (because that's
> how it is when PmWiki is first installed) and with every other group it
> is the group name (including Site.Site and PmWiki.PmWiki).  That means
> that one has either to check for both all the time, or have one or the
> other case fall through the cracks.

...or just create a Main.Main page, in which case everything 
becomes surprisingly consistent again.  :-)

> My personal preference would be to have Main.HomePage go away and make
> it be Main.Main, at least in the default setup.

Noted.  We currently have things as "Main.HomePage" because I think
this gives a better first impression than "Main.Main" does, and
it helps to initially distinguish the group name from the page name.

And of course there are a number of people who would prefer the other
choice -- make "Group.Group" go away and always have everything
be "Group.HomePage".  :-)


More information about the pmwiki-users mailing list