Changes for page AssignmentCreatorTest
on 2010/08/20 20:39
on 2010/08/20 20:18
Summary
Details
- Page properties
-
- Content
-
... ... @@ -2,7 +2,7 @@ 2 2 $xwiki.copyDocument("XWiki.AssignmentClassBaseText","XWiki.SomeTest") 3 3 #set($smurk = $xwiki.getDocument("XWiki.AssignmentClassBaseText") ) 4 4 #set($something = $smurk.getContent() ) 5 - 6 - 7 -$ xwiki.copySpaceBetweenWikis("Topics", "xwiki", "courses", "en", false)8 - 5 +#set($smurk2 = $xwiki.createDocument() ) 6 +$smurk2.setContent($something) 7 +$smurk2.rename("XWiki.uargh") 8 +$smurk2.save()