From: Arno H. <aho...@xm...> - 2001-01-25 10:42:10
|
> Yes, the diff between versions are done comparing what is stored in wik= i > and wikiarchive tables. > So, how I do a backup from wiki to wikiarchive? I think this should be > done in admin. Actually, pages are backed up in wikiarchive whenever a *different* user=20 edits a page. E.g. Alice creates a page and edits it 3 times - everything= =20 stays in wiki (including version 3). Next Bob comes along and edits the=20 page: now v3 is moved to wikiarchive and Bob's version 4 is stored in wik= i. Say Bob edits the page one more time, nothing is moved to wikiarchive,=20 because Bob is the latest editor of the page - thus: wikiarchive holds=20 version 3, wiki holds version 5. When Alice edits the page now, then=20 version 5 is moved the archive, ...... I don't see the need for an admin to move pages from wiki to wikiarchive. /Arno p.s. it's hard to get this behaviour in local tests, as currently the=20 ip-address is used for user-identification. So you will always appear as=20 one user to phpwiki, and thus nothing gets backed up into wikiarchive,=20 except when you edit the initial pages (there the author is set to "wiki=20 team") |