[Pmwiki-users] Hierarchical groups - possible notation
Patrick R. Michaud
pmichaud
Wed Jun 9 06:38:03 CDT 2004
On Wed, Jun 09, 2004 at 03:33:52AM -0500, John Feezell wrote:
> On Tue, 8 Jun 2004 17:42:07 -0600, Patrick R. Michaud <pmichaud at pobox.com>
> wrote:
>
> Perhaps the following notation, or some variation of it, could work
> for hierarchical groups with relative references.
>
> Let
> the last name always be the existing pagename
> [[pagename]] resolve to replacement for existing pagename
> [[.group.pagename]] resolve to replacement for existing pagename
> [[/group.pagename]] resolve to top level group with pagename
This eliminates the '.' versus '/' distinction for when to suppress
leading group names. Yes, one can use the parenthesis for this,
but I like the feature that I can use PmWiki.DocumentationIndex
in normal text and have the "PmWiki" displayed while PmWiki/PmWikiUsers
suppresses the leading "PmWiki"...
> [[(group.group).pagename]]
I'll have to veto the use of parens for group clustering, as they're
already being used to suppress display of that portion of the name
(and I don't want to change this behavior). But this is indeed a
useful idea, although it may be a little difficult to explain to
others.
Pm
More information about the pmwiki-users
mailing list