Changes for page Refactoring Module

Last modified by Anca Luca on 2021/10/12 19:31

From version 10.1
edited by Simon Urli
on 2018/11/30 14:47
Change comment: There is no comment for this version
To version 11.1
edited by Simon Urli
on 2018/11/30 14:48
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -53,6 +53,7 @@
53 53  #set ($discard = $renameRequest.setAutoRedirect(false))
54 54  $services.refactoring.rename($renameRequest)).join()
55 55  {{/code}}
56 +)))
56 56  
57 57  {{info}}
58 58  Before XWiki {{code}}10.11RC1{{/code}} the function to create requests were attached to the refactoring service itself.
... ... @@ -61,7 +61,7 @@
61 61  #set ($renameRequest = $services.refactoring.createRenameRequest($source, 'NewName'))
62 62  {{/code}}
63 63  {{/info}}
64 -)))
65 +
65 65  * Delete a Document(((
66 66  {{code language="none"}}
67 67  #set ($source = $services.model.resolveDocument('Path.To.Source.WebHome'))

Get Connected