Hi Lukas,
when I saw value:random I thought that this was just what I had been
wanting.
I immediately gave it a try, expecting it to be "a random child of the
page in which the link is placed". Well it worked fine until I embedded
that page into another page, and then I discovered that it is "random
child of the current structure". Not what I expected at all.
So I investigated these value links, only to find that these links do
not appear to know their document, thus making my original idea
impossible to implement with value links.
To be honest I have hit this problem many times since I started using
pier. I never have any use for "children of the current structure", and
there are many "current structure" based features in pier. I always want
children of a specific structure. Then I can craft a menu, and embed it
somewhere else, or similar.
So I implemented a subclass of value links, implementing "page:" links,
and it works great.
Then I had a thought: the most powerful, and oft forgotten feature of
Ward Cunningham's original wiki, was the ability to click on the title
of a page, and get all of the referring pages.
So how does one get "all of the links that link to this page".
btw: the code in the comment to PRIncomingReferences is not a valid
example as far as I can see.
cheers
Keith