Wiki source code of Class Page Deletion
Last modified by Eleni Cojocariu on 2026/11/25 11:31
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | This screen appears when you try to [[delete a Page>>xwiki:documentation.xs.user.page.operations-refactor.delete.WebHome]] that contains an [[XClass>>xwiki:documentation.xs.dev.data-model.x-classes.WebHome]] used elsewhere in the wiki. | ||
| 2 | |||
| 3 | This is what a [[simple user>>documentation.xs.user.content-edit.simple-advanced.WebHome||anchor="HSimpleMode"]] sees: | ||
| 4 | |||
| 5 | {{image reference="page-xclass-deletion-simple.png" size="extra" alt="The status page of deleting a page that belongs to a class page"/}} | ||
| 6 | |||
| 7 | [[Switching to advanced user>>documentation.xs.user.content-edit.simple-advanced.WebHome||anchor="HHowcanIswitchbetweensimpleandadvanceduser3F"]], you are allowed to choose precisely the Pages to move and those to preserve: | ||
| 8 | |||
| 9 | {{image reference="page-xclass-deletion-advanced.png" size="extra" alt="The status page of deleting a page that belongs to a class page"/}} | ||
| 10 | |||
| 11 | Such a Page might also be one of the [[children>>xwiki:documentation.xs.user.page.nested-pages.relations.WebHome]] of the current Page. Deleting it could break other Pages that depend on that XClass, which is why this action is forbidden for users who do have [[delete right>>documentation.xs.admin.rights.right-types.WebHome]], but are [[simple users>>documentation.xs.user.content-edit.simple-advanced.WebHome||anchor="HSimpleMode"]]. Clicking on the "Cancel" button discards the action. |