Wiki source code of Page Replacement
Last modified by Eleni Cojocariu on 2026/10/02 09:12
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Recreating a Page means [[creating a new Page>>xwiki:documentation.xs.user.base.page.create.WebHome]] at the exact location of a previously [[deleted Page>>xwiki:documentation.xs.user.base.page.operations-refactor.delete.WebHome]], under the same [[Page name>>xwiki:documentation.xs.user.base.page.edit.titles-names.WebHome||anchor="HPageNames"]] as the deleted one. | ||
| 2 | |||
| 3 | When a Page is recreated, the [["Deleted Pages" tab of the Page Index>>xwiki:documentation.xs.admin.base.page.index.WebHome]] offers a "Replace" action for the deleted version of that Page instead of the usual "Restore", as follows: | ||
| 4 | |||
| 5 | {{image reference="replace-page.png" size="extra" alt="The Deleted Pages table with the Replace action available for the deleted version of the Page"/}} | ||
| 6 | |||
| 7 | That is how the tab tells you a new Page already exists at the same location. Clicking on the "Replace" button opens a popup that restores the deleted Page into that location, deleting the recreated Page first. | ||
| 8 | |||
| 9 | {{image reference="restore-existing-page.png" size="large" alt="The popup to restore the previous deleted Page in the location of the recreated Page"/}} |