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

Patrick R. Michaud pmichaud
Sun Sep 26 07:37:25 CDT 2004


On Sun, Sep 26, 2004 at 12:32:19AM -0400, Kass Lloyd wrote:
> 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.

Well, this is really what the conversion script does, although I'm providing 
(and recommending) the option of safely using existing pages within a 
separate wiki installation for testing purposes.

If you really want to upgrade over an existing installation, you just
rename the existing wiki.d/ directory to another name, then point the
conversion script module at that directory, and this has almost exactly
the same outcome as the "automatically save a copy and rename" suggestion
above.  (Except, of course, if you want to revert back to 1.x you don't
have to rename the ".$version" files back to the original. :-)

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

The files themselves are completely backwards compatible; the 
markup is backwards compatible through the conversion script.

Pm



More information about the pmwiki-users mailing list