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

Américo Albuquerque aalbuquerque at lanowar.sytes.net
Thu Sep 21 16:38:45 CDT 2006

On Wed, 20 Sep 2006 15:43:29 -0500, Patrick R. Michaud wrote:
 > On Wed, Sep 20, 2006 at 09:30:37PM +0100, Américo Albuquerque wrote:
 > > It would be handy if we could make a pagelist of md5. We could use 
it to
 > > synchronize wiki source pages.
 > Do you need a hash for the entire page (attributes and all) or
 > just the page contents (text?). If just the page contents, the
 > md5 could be easily saved as a page attribute. If the entire
 > page, then the md5 takes some time to dynamically generate from
 > each page file.
I would need just the md5 of the contents text. It's a easy way to see 
if a page has changed without getting the full page and the the 
synchronized part I have is the same as the one on the server.

 > Or do you simply want some sort of value that is guaranteed to change
 > whenever a page is modified in any way? That could be easily added.
like the ETAG or similar?

Actually I wanted something that would give me the functionality of md5. 
it would tell me if the page as changed and it would also tell me that 
the contents I have saved are the same as the contents of the page.

Américo Albuquerque

More information about the pmwiki-users mailing list