[pmwiki-users] PageListCount (was: ZAPmarkups)

Patrick R. Michaud pmichaud at pobox.com
Tue Apr 3 09:38:07 CDT 2007


On Tue, Apr 03, 2007 at 03:27:31PM +0100, Hans wrote:
> Tuesday, April 3, 2007, 3:16:02 PM, Patrick wrote:
> 
> > What if we simply have (:pagecount:) as a shortcut 
> > for (:pagelist fmt=count:)?  That would at least get rid of the
> > "fmt=count" parameter, while leaving the rest available.
> 
> >    (:pagecount group={$Group}:)
> 
> >    (:pagecount group={$Group} list=normal:)
> 
> good.
> 
> There is no good way to make group={$Group} shorter?
> I am not wanting any confusing shortforms, but
> group={*$Group} seems to be the norm when I use group= and not trail=
> or link=

One could always define a (:grouppagecount:) directive.  :-)

Also, since pagecounts tend to be inlined, perhaps we should
make it use the {(...)} syntax instead of the directive syntax.

    {(pagecount group={*$Group})}

Or a recipe could shortcut this to:

    {(grouppagecount)}

Pm



More information about the pmwiki-users mailing list