Friday, January 28, 2011

PMWIKI migration from 0.4.23 to 2.2.1 howto

http://t3n.de/opensource/data/logos/pmwiki.gif

I had to migrate from older 0.4.2 pmwiki
THAT HAS DIFFERENT WIKI-MARKUPS
to pmwiki 2.2  and was facing the nightmare
of having to change 200 pages by hand:

Like so:

From: [[RubyEaston Ruby Easton]]
To: [[RubyEaston |Ruby Easton]]

aaaaaaaaarrrrrrrrgggggghhhhhhhhhhh!

I downloaded the wiki.d folder,
noting its permissions (664), and
used UEDIT  (uedit-32 ver5)


->Search -> Replace in Files

X Match Case
X Regular Expressions

SEARCH FOR     ^(^[^[*^) ^(*^]^]^)
REPLACE WITH   ^1 |^2


then uploaded it again and set the permisisons:
cd /var/www/mydomain.com/wikifolder/wiki.d/
chmod 664 *

http://www.gifmania.co.uk/birds/penguin/tux_drinking_soda_md_wht.gif

BINGO!
StumbleUpon PLEASE give it a thumbs up Stumble It!

0 Comments:

Post a Comment

<< Home