Changes for page Delete page programmatically
Last modified by Vincent Massol on 2021/03/18 11:28
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -2,6 +2,9 @@ 2 2 3 3 The responsibility to protect the access to this script is entirely yours. 4 4 5 + 6 +Then, to use, follow the instructions in the form displayed by the script. Note that the script is not handling children pages and if you delete a page with children you're gonna either have to delete manually the children or leave some orphaned pages. 7 + 5 5 {{code language="velocity"}} 6 6 {{velocity}} 7 7 This script allows to programmatically delete a page whose URL is not accessible (since the regular delete is an action, the URL to the page needs to be accessible in order to delete the page).