Changes for page Release Notes for XWiki 7.2
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -242,9 +242,9 @@ 242 242 243 243 === New Rename/Delete Jobs === 244 244 245 -New code has been developed to support Nested Documents/Nested Spaces and Script Services have been provided and they now run inside Jobs to better handle the fact that they are long-running operations.245 +New code has been developed to support Nested Pages/Nested Spaces and Script Services have been provided and they now run inside Jobs to better handle the fact that they are long-running operations. 246 246 247 - Howeveryoucan start totest this by using the following Script Services APIs:247 +The corresponding Script Services APIs have been added: 248 248 249 249 * Copy a Space((( 250 250 {{code language="none"}} ... ... @@ -267,7 +267,7 @@ 267 267 $services.refactoring.move($source, $destination).join() 268 268 {{/code}} 269 269 ))) 270 -* Move a Document(((270 +* Move a Page((( 271 271 {{code language="none"}} 272 272 #set ($source = $services.model.resolveDocument('Path.To.Source.WebHome')) 273 273 #set ($destination = $services.model.resolveSpace('Path.To.New.Parent')) ... ... @@ -280,13 +280,13 @@ 280 280 $services.refactoring.rename($source, 'NewName').join() 281 281 {{/code}} 282 282 ))) 283 -* Rename a Document(((283 +* Rename a Page((( 284 284 {{code language="none"}} 285 285 #set ($source = $services.model.resolveDocument('Path.To.Source.WebHome')) 286 286 $services.refactoring.rename($source, 'NewName').join() 287 287 {{/code}} 288 288 ))) 289 -* Delete a Document(((289 +* Delete a Page((( 290 290 {{code language="none"}} 291 291 #set ($source = $services.model.resolveDocument('Path.To.Source.WebHome')) 292 292 $services.refactoring.delete($source).join() ... ... @@ -298,13 +298,13 @@ 298 298 $services.refactoring.delete($source).join() 299 299 {{/code}} 300 300 ))) 301 -* Convert a Terminal Documentto a NestedDocument(((301 +* Convert a Terminal Page to a Nested Page((( 302 302 {{code language="none"}} 303 303 #set ($source = $services.model.resolveDocument('Path.To.Page')) 304 304 $services.refactoring.convertToNestedDocument($source).join() 305 305 {{/code}} 306 306 ))) 307 -* Convert a Nested Documentto a TerminalDocument(((307 +* Convert a Nested Page to a Terminal Page((( 308 308 {{code language="none"}} 309 309 #set ($source = $services.model.resolveDocument('Path.To.Source.WebHome')) 310 310 $services.refactoring.convertToTerminalDocument($source).join() ... ... @@ -313,10 +313,9 @@ 313 313 314 314 === New create action parameters and logic === 315 315 316 -The create action now accepts a ##spaceReference## parameter and a ##name## parameter, together with an optional ##tocreate=terminal## parameter (usable on non-terinal documents). The previous space parameters was not scalable in the context of Nested Spaces since it was just a top-level space name so it did not allow the creation of deeper space levels. More details are available in the [[create action's documentation>>platform:DevGuide.Standard URL Format||anchor="HAction:create"]].316 +The create action now accepts a ##spaceReference## parameter and a ##name## parameter, together with an optional ##tocreate=terminal## parameter (usable on non-terminal pages). The previous space parameters was not scalable in the context of Nested Spaces since it was just a top-level space name so it did not allow the creation of deeper space levels. More details are available in the [[create action's documentation>>platform:DevGuide.Standard URL Format||anchor="HAction:create"]]. 317 317 318 -These logic is now also available in the improved create UI, with the terminal pages option appearing only for advanced users and being checked or unchecked by default, depending on the type of the current document: 319 -{{image reference="[email protected]"/}} 318 +As explained previously, these logic is also available in the improved create UI, with the terminal pages option appearing only for advanced users and being checked or unchecked by default, depending on the type of the current page. 320 320 321 321 == New Reference-related APIs == 322 322