[dokuwiki] Re: Avoiding "external edit"

On Tue, Jun 24, 2008 at 01:22:34PM +0200, Jan Decaluwe wrote:
> I'm moving my dokuwiki's to a different host. I'd like
> to preserve the whole history.
> 
> To move the data, I use tar/untar of the data directory.
> This seems to work well, except for one thing. The author
> history of pages is preserved, except for the current
> version: there it says "external edit".
> 
> Is there something I can do to avoid this?

This is related to that the timestamps of the the untared files have changed.

DokuWiki checks if the timestamp of a file is newer than the current version
in the attic, and if that's the case it assumes the file was edited outside of
DokuWiki, hence that an external edit occured.

To ommit that you have to make sure that the timestamps of the files are
presevered when moving the data.

HTH
        Chi

-- 
Michael Klier

www:    http://www.chimeric.de
jabber: chi@xxxxxxxxxxxxxxxxxx
key:    http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: