[pmwiki-users] pagelist is creating links relative to the current group?

Patrick R. Michaud pmichaud at pobox.com
Wed May 24 14:06:00 CDT 2006

On Wed, May 24, 2006 at 06:59:00PM +0200, Joachim Durchholz wrote:
> Patrick R. Michaud schrieb:
> > The crux of the problem is that there are multiple possibilities for
> > a group's "default home page"-- i.e., for a group XYZ the default
> > home page can be either "XYZ.XYZ" or "XYZ.HomePage".
> This might also help create an infrastructure for a hierarchical group 
> structure. Naming the group's home page was one of the major trouble 
> spots there IIRC.

Yes, but the big problem is that it's difficult to know if 
a reference like [[Group]] should refer to the parent (group), the 
current page, or a child of the same name.  (There are other problems
related to this as well -- this is a simplification.)

> So far, this all could easily be naming pages according to a 
> ClassSubclassSubsubclass.Item schema.
> However, there are two problems with that:
> 1) It's difficult to organize wikitrails. The "natural reading order" of 
> the entire hierarchy would be what's called a "preorder" (because nodes 
> in the tree come ''before'' their child nodes), but there's no easy way 
> of setting up a wiki trail that lists the items in preorder. 

What's wrong with (besides being a bit ugly):

    * [[ClassSubclass.SomePage]]
    ** [[ClassSubclassSomePage.Item1]]
    ** [[ClassSubclassSomePage.Item2]]
    ** [[ClassSubclassSomePage.Item3]]
    * [[ClassSubclass.AnotherPage]]
    ** [[ClassSubclassAnotherPage.Item1]]
    ** [[ClassSubclassAnotherPage.Item2]]

(A useful exercise:  See if having hierarchical links makes any
improvement to the above. :-)

More information about the pmwiki-users mailing list