[pmwiki-users] Attach: Syntax and the Default Upload Quick Reference

Patrick R. Michaud pmichaud at pobox.com
Wed Feb 1 15:50:47 CST 2006


On Sun, Jan 29, 2006 at 03:35:27PM -0700, H. Fox wrote:
> On 1/29/06, Neil Herber <nospam at eton.ca> wrote:
> > At 2006-01-28  08:45 PM -0700, H. Fox is rumored to have said:
> > > > > Refer to an attached file in the same WikiGroup with
> > > > >
> > > > >     Attach:filename.ext
> >
> > What about installations where uploads are "per page" or "per wiki"
> > rather than "per group"? Last time I looked, the admin could
> > configure any of these scenarios.
> >
> > I use per wiki and per group on different installations, but I am
> > thinking of switching to per page on one because of the large number
> > of attachments - and because I use (:attachlist:) to display them dynamically.
> 
> That's a good point.  What's needed appears to be
> 
>     (:if <$UploadPrefixFmt is ''>:)
>     One instruction (site-wide).
>     (:if <$UploadPrefixFmt is ''/$Group'>:)
>     Another instruction (by group).
>     (:if <$UploadPrefixFmt is ''/$FullName'>:)
>     Yet another instruction (by page).
>     (:if:)

I think that's too complex for what we're trying to solve.
I'd prefer instructions that make sense regardless of the
configuration, if that's at all possible.

Pm




More information about the pmwiki-users mailing list