[pmwiki-users] title directive and links

John Rankin john.rankin at affinity.co.nz
Tue Sep 27 17:38:57 CDT 2005

On Tuesday, 27 September 2005 2:05 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Mon, Sep 26, 2005 at 02:10:36PM +0200, romat2 wrote:
>> > > $RecentChangesFmt['$SiteGroup.AllRecentChanges'] = '*
>> > > [[$Group.$Name|+]] . . . $CurrentTime $[by] $AuthorLink:
>> > > [=$ChangeSummary=]';
>> >
>> > Excellent...! I hadn't considered this possibility!  This simple
>> > mechanism for having titles in RecentChanges pages adds a *lot*
>> > of weight to the idea of putting [[Page|+]] markup directly in
>> > the core.
>> I don't understand. I use [[$Group.$Title->$Group.$Name]] link that
>> doesn't require TitledLinks recipe. Does [[$Group.$Name|+]] link have
>> any advantage?
>No, in fact [[$Group.$Title -> $Group.$Name]] is more

Err; now I don't understand. I thought the difference is that
[[$Group.$Name|+]] evaluates the + when a page is displayed,
whereas [[$Group.$Title->$Group.$Name]] evaluates when a
page is stored. So, if somebody edits the (:title:), the +
variant will still be correct, whereas the $Group.$Title
variant will be wrong. Furthermore, the edit will add a
new entry to the RecentChanges page, and leave the old one
behind, because pmwiki will look for $Group.New Title 
instead of $Group.Old Title.

But I could be wrong (it happens a lot).
John Rankin

More information about the pmwiki-users mailing list