[Pmwiki-users] migrating PmWiki 1.x pages to 2.0, first attempts

Kass Lloyd kasslloyd
Sat Sep 25 22:32:30 CDT 2004


Well asside from theme changes and other stuff of that nature the data
files could be dynamicly upgraded. You can automaticly save a copy of
the old data file when you upgrade it. just rename it and put a
".$version" on the end.. Then if everything goes horablely wrong the
files are still there.

Or for the first few versions you can just convert as it displays and
not rewrite a new 2.0 version data file unless a edit+save was done...
Even then you can do a backup before you write the 2.0 file if the
orignial was 1.x.

Backwards compatablity for data files I think is somewhat imporant...



More information about the pmwiki-users mailing list