Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -13,12 +13,6 @@ 13 13 In the previous example, the solution was to put manually the parent of all pages of the ##Proposal## space that had ##Main.WebHome## as parent, to ##Proposal.WebHome##. The following script have been used to migrate (ex: http://design.xwiki.org/): 14 14 15 15 {{code language="velocity"}} 16 -#set ($xwql = "where doc.space in ('Proposal', 'Design', 'Improvements') and doc.parent = 'Main.WebHome'") 17 -#foreach($r in $services.query.xwql($xwql).execute()) 18 - #set ($d = $xwiki.getDocument($r)) 19 - #set ($discard = $d.setParent('Proposal.WebHome')) 20 - #set ($discard = $d.save()) 21 - * $r updated 22 -#end 16 + 23 23 {{/code}} 24 24