[pmwiki-users] title directive and links

Patrick R. Michaud pmichaud at pobox.com
Mon Sep 26 09:05:47 CDT 2005


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 efficient.

> > The relevant Fmt variable is $Title.  One mechanism for displaying
> > titles instead of pagenames in (:pagelist:) output is described
> > at http://www.pmwiki.org/wiki/Cookbook/PagelistExplained , in the
> > "Comments/Questions" section.  (Yes, I'm planning to move this
> > particular item into its own recipe.)
> 
> Great! The only problem is that order parameter does not allow
> "title", so pages are shown with titles but sorted by page names.

Oh, I can probably fix this at some point.  The order parameter 
*does* allow title, but the problem is that the pages with no
(:title:) directive are all sorted as if title=''.

Pm




More information about the pmwiki-users mailing list