We've been making copies of spaces via export for
documentation translation.
We export the space, explode the xar, edit the package.xml and run a
find/replace on the contents to the new space name before
re-packing/importing back in. This generally works well preserving
relations, etc within the content.
In your case you would want to delete the old space, of course.
Hope this is helpful.
-EdC
Message: 6
Date: Wed, 22 Apr 2009 13:33:05 -0400
From: Mike Jakubik <mike.jakubik(a)intertainservices.com>
Subject: Re: [xwiki-users] Moving spaces and their contents
To: XWiki Users <users(a)xwiki.org>
Message-ID: <49EF54D1.80303(a)intertainservices.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
This is already built in to the core wiki, and does not do what i need.
hel-o wrote:
Mayby this could help:
http://code.xwiki.org/xwiki/bin/view/Snippets/RenameSpacePageSnippet
hel.
Mike Jakubik wrote:
> Hello,
>
> I am trying to move a space and all it's children pages to a different
> space, which already exists and has content. If i move the space
> Webhome1 to Webhome2 the contents of Webhome1 will become orphaned. Is
> this possible without having to rename/move each page manually?
>
> view/Webhome1/* -> view/Webhome2/Webhome1/*
>
> Thanks.
>
> --
> Intertainservices
> 4101 Yonge St., Suite 506
> Toronto, Ontario, M2P 1N6
>
> Phone: +1 416 225-8475 x303
> Fax: +1 416 535 9094
> Cell: +1 416 562 5378
> E-mail: mike.jakubik(a)intertainservices.com
>
> This message, including any attachments, is privileged and may contain
> confidential information intended only for the person(s) named above.
>
Any
> other distribution, copying or disclosure is
strictly prohibited. If
>
you
are not
the intended recipient or have received this message in error,
please notify me immediately by reply email and permanently delete the
original transmission, including any attachments, without making a copy.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
-----
----
hel(a)hel.at
--
Intertainservices
4101 Yonge St., Suite 506
Toronto, Ontario, M2P 1N6
Phone: +1 416 225-8475 x303
Fax: +1 416 535 9094
Cell: +1 416 562 5378
E-mail: mike.jakubik(a)intertainservices.com
This message, including any attachments, is privileged and may contain
confidential information intended only for the person(s) named above. Any
other distribution, copying or disclosure is strictly prohibited. If you
are not the intended recipient or have received this message in error,
please notify me immediately by reply email and permanently delete the
original transmission, including any attachments, without making a copy.
_______________________________________________
users mailing list
users(a)xwiki.org