[pmwiki-users] sample Hierarchy use case

John Rankin john.rankin at affinity.co.nz
Tue Jun 6 22:51:16 CDT 2006


On Wednesday, 7 June 2006 12:51 AM, Joachim Durchholz <jo at durchholz.org> wrote:
>John Rankin schrieb:
>> On Saturday, 3 June 2006 12:35 PM, Joachim Durchholz <jo at durchholz.org> wrote:
>>> Assume there's a feature Foo discussed on PmWiki. It turns out the page 
>>> becomes too long, so there's a subpage Foo.Talk associated with Foo. Now 
>>> if Foo is itself in group Cookbook, the .Talk page can be reached under 
>>> Cookbook.Foo.Talk.
>> 
> > There seem to be 2 options (2 different use cases):
>> 
>> a) a group-based hierarchy of Group,Subgroup.Page which suggests there is 
>>    a page named 'Page' in the group named Group,Subgroup and optionally a 
>>   page named Subgroup in the group named Group
>> 
>> b) a page-based hierarchy of Group.Page,Subpage would suggest there is a
>>    page named Page,Subpage in the group named Group and a page named Page
>>    also in the group named Group
>  >
>> In the case of Cookbook.Foo.Talk what group is ".Talk" in? Is it
>> named "Foo.Talk" and a member of the Cookbook group or is it (as I read
>> the example) named "Talk" and a member of the Cookbook.Foo
>group?
>
>Actually I don't think there should be a distinction.

OK now that Jo has led me patiently by the hand (thank you), I see the 
picture, I think -- different terminology for the same thing.

As a kinesthetic learner, I found it helpful to build a simple
example. See
http://www.wikipublisher.org/wiki/index.php?n=Hierarchy.Demonstrator

Click around to see how it fits together.

AFAICT changing "subpages" to "subgroup" and "Subpage of" to "Member of"
would align the subpage and subgroup terminology.

>
>I envision a unified hierarchy. I.e. Cookbook.Foo.Talk is the text 
>snippet inside the Cookbook.Foo hierarchy.
>Whether it's just a part of the Cookbook.Foo page (i.e. a subpage, in my 
>terminology), or whether it's a separate page located in the 
>Cookbook.Foo group, that should be of little concern: URLs to that text 
>snippet shouldn't have to change just because an author chose to switch 
>from one configuration to the other.
>
>
><snip> -- moved to
http://www.wikipublisher.org/wiki/index.php?n=Hierarchy.Demonstrator,Terminology
>
>
>What does everybody think?

What I have set up seems to meet much of Jo's specification, for one 
level of nesting. A long journey starts with a short step. The main
kludge is choosing to re-interpret

* [[,section]] markup

as a heading 1, edit link and include directive when someone presses the 
Show subpages (or alternatively, Show subgroup) button.

What do people think?
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list