Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [11-2006 Date Index] [Date Next] || [Thread Prev] [11-2006 Thread Index] [Thread Next]

[dokuwiki] Moving an entire namespace?

  • From: "Daniel Mitchell" <DanielMitchell@xxxxxxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Tue, 7 Nov 2006 14:11:58 -0700
 What's the best way to do this? I know there's the "move" plugin, but
that's only for a page at a time.

 My current plan is, for the top-level 'thing' namespace, to just do 'mv
thing projects/thing' in the data directory -- I know this will break
absolute links within that namespace, and links from other namespaces
will break, but we can always patch that up later on.

 What I'm mostly concerned about is not breaking the wiki itself --
currently, I know I'll have to move:

 data/pages/thing to data/pages/projects/thing
 data/media/thing to data/media/projects/thing
 data/attic/thing to data/attic/projects/thing

 What about data/metadata? If I move that, will it just cause more
trouble than it's worth? I also suspect the search index will be broken
for those pages until I reindex or manually visit them; that's fine, I
can do that if necessary. What about the cache? 

 Also, I suppose I should really check in data/locks to make sure I
don't kill anyone's existing edit, but I can probably just do things out
of work hours to avoid that. 
 
 What about changes.log? And as I'm still running the last release of
dokuwiki, would it be better to do these moves _then_ upgrade, or do the
upgrade and then move things around before the new version gets started
with the new metadata/etc? Maybe install a fresh new version and just
copy pages/media/attic over? I'm looking at moving a couple of thousand
pages over a dozen or so namespaces, so I don't want to have anything go
wrong here..

 thanks,

 -- dan
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.