[pmwiki-users] MD5 checksums or version control (was: Re: Avoiding simultaneous edits)

Patrick R. Michaud pmichaud at pobox.com
Wed Sep 20 12:56:05 CDT 2006


On Wed, Sep 20, 2006 at 01:12:25PM -0400, Neil Herber wrote:
> At 2006-09-20  11:42 AM -0500, Patrick R. Michaud is rumored to have said:
> >And, perhaps we really need the extended Attach: markup, so
> >that someone can do something like:
> >
> >    Attach:foo.txt"%md5"
> >
> 
> Oh and please something like:
> 
>         Attach:foo.txt"%md5","size"

We really need to keep it to one set of quotation marks, so it
ought to be something like:

    Attach:foo.txt"%md5 %size"

I just haven't figured out the substitution markup that makes
sense for this.  I can envision doing one of:

    Attach:foo.txt"%md5 %size"
    Attach:foo.txt"$md5 $size"
    Attach:foo.txt"{md5} {size}"

Unfortunately(?), one thing that *won't* work is the page variable
markup, as in Attach:foo.txt"{$md5} {$size}", because page 
variable substitutions take place before Attach: links.  Plus,
it confuses attachments with pages, and people seem to get
those confused enough already.

Pm




More information about the pmwiki-users mailing list