[dokuwiki] Re: Avoiding "external edit"
- From: Jan Decaluwe <jan@xxxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 26 Jun 2008 12:18:30 +0200
Michael Klier wrote:
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.
Mm. My untarring on the new host actually seems to make current pages a
little *older* (as reported by the "Old revisions") than the timestamps in
the attic. Your explanation suggests that this would be OK, but that's not
what I see.
I guess the timestamps / modification times have to be exactly right.
Jan
--
Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com
Kaboutermansstraat 97, B-3000 Leuven, Belgium
From Python to silicon:
http://myhdl.jandecaluwe.com
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Avoiding "external edit"
- From: Michael Klier
- References:
- [dokuwiki] Avoiding "external edit"
- From: Jan Decaluwe
- [dokuwiki] Re: Avoiding "external edit"
- From: Michael Klier
Other related posts:
- » [dokuwiki] Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [dokuwiki] Re: Avoiding "external edit"
- » [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.
- [dokuwiki] Re: Avoiding "external edit"
- From: Michael Klier
- [dokuwiki] Avoiding "external edit"
- From: Jan Decaluwe
- [dokuwiki] Re: Avoiding "external edit"
- From: Michael Klier