[pmwiki-users] Re: Re: Re: Re: Re: Dynamic wiki trails
chr at home.se
chr at home.se
Sat Mar 19 06:01:19 CST 2005
On 19 Mar 2005, John Rankin wrote:
> On Friday, 18 March 2005 10:21 PM, chr at home.se wrote:
> >> BTW I'd expect <<|!RatsAndMice|>> to work too.
> >
> >You mean that <<!!RatsAndMice>> should work the same as
> > (:trails !!RatsAndMice:).
>
> No, I mean that <<|!RatsAndMice|>> means treat Category.RatsAndMice
> as a trail page -- so (in your notation) (:trails !RatsAndMice:).
> But I see that |! looks enough like !! to be confusing.
Wow... I had to read this post twice to spot the error.. even when you
wrote "|! looks enough like !! to be confusing" I didn't get it the first
time!
Anyway, now I understand you (I think:)
> I was working by analogy with
>
> <<|TrailPage|>> today's trail notation
> <<|?TrailPage|>> return '' if the current page is off-trail
> <<|!CategoryPage|>> return '' if the current page is off-category
> >
> >Guess you'd expect that, but I still think the latter is easier
> >to read...
>
> As the above example shows, it was easy to mis-read...
I think we should continue the summary of how this should all work using
primarily (:trails ...:), and consider <<|..|>> a shortcut. As the
discussion above illustrated so well, it may get too complicated with '|'
and '!' next to each other.
Some ideas for <<|...|>> though... does "<<| !CatA |>>" look better? Or
how about <<!CatA!>>? (Those are exclamation marks rather than bars).
Hmm... <<!CatA!>> and <<!!CatA!!>> don't look so bad to me... but I'd
probably use (:trails !CatA:) and (:trails !!CatA:) anyway, they seem more
readable to me.
/C
PS On what PITS-pages did you start writing the summary?
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list