diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2013-05-08 00:31:32 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2013-05-08 00:31:32 -0700 |
commit | ae08614e43c27b1b28d3cf58403519e007ed3aa0 (patch) | |
tree | 202fbdec13fa0a287c84f99d96bd29b544b652d5 | |
parent | 698cfd095fb853e8476dba747714266bc3e267b4 (diff) |
moin2iki: More admin instructions for arranging selective page conversion
-rw-r--r-- | wiki/moin2iki.mdwn | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/wiki/moin2iki.mdwn b/wiki/moin2iki.mdwn index e003edb..91ee440 100644 --- a/wiki/moin2iki.mdwn +++ b/wiki/moin2iki.mdwn @@ -21,7 +21,16 @@ If you want to convert everything (i.e. the wiki involved is not overloaded with git commit -m 'moin2iki: Moving FrontPage.mdwn to index.mdwn' git push origin master -Otherwise you can follow the [[moin2iki_page_selection]] instructions. +Otherwise you can provide/follow the [[moin2iki_page_selection]] instructions. Along with that, it's probably a good idea for normal users to get access to the old pages for when conversion fails. + + cd /srv/${PROJECT}.freedesktop.org/moin/data + rm -r pages/*/cache/ # Moin creates these for 404s + find pages/ -type f -size 0 -print0 | xargs -0 rm # Moin creates empty edit-logs for 404s + rmdir pages/* # Which will clear out those generated 404s + mv pages-bad/* data/pages/ + chmod 775 . + find pages -type d -print0 | xargs -0 chmod 775 + find pages -type f -print0 | xargs -0 chmod 664 Disabling MoinMoin and enabling Ikiwiki: @@ -29,4 +38,3 @@ Disabling MoinMoin and enabling Ikiwiki: ln -s /srv/ikiwiki/git/${PROJECT}.git /srv/${PROJECT}.freedesktop.org/git # user convenience shortcut perl -pe 's/(.*MoinWSGI.*)/#\1/' /etc/apache2/sites-enabled/500-${PROJECT}.freedesktop.org | sponge /etc/apache2/sites-enabled/500-${PROJECT}.freedesktop.org /etc/init.d/apache2 reload - |