Page Lifecycle
XWiki offers to perform several actions on a page.
Create
See Create a Page.
See All the Ways to Open the Creation Wizard for a Page.
See Create a Terminal Page.
Limitations
See Limitations
Edit
This allows the editing of a page. See Edit a Page for more details.
Delete
See Delete a Page.
See Consequences of deleting a Page.
See Deletion Wizard.
Pages that belong to extensions
Pages that contains a used XClass
You might also see one of the following screen:


It happens when you try to delete a page that contains an XClass which is used somewhere. This page could be one of the children of the current page. If you continue the delete action, some other pages will not work anymore. That is why the action is completely forbidden for simple users. Advanced users are allowed to choose precisely the pages to remove and those to preserve. They can also abort the action by clicking on the "Cancel" button.
Restore
To restore a deleted page or remove it from the trash (you'll need to have Admin permissions), check Restore a Page.
Copy
If you want to create a copy of an existing page then you have to navigate to that page (access that page in view mode) and then select the Copy entry from the page menu (that is located to the right of the page title).

This will take you to the Copy Page Wizard where you can specify the title of the copy and its new location.

If the page is translated in multiple languages then you can select which translation to copy, or you can copy all the translations. If the page has child pages then you can choose to copy them as well (this way you can replicate a hierarchy of pages).

Once you click the Copy button you are taken to the Copy Status page where you can see the options that you have selected and the progress of the copy operation. The copy is performed asynchronously. The progress bar is replaced with the operation status at the end in order to let you know if the operation succeeded or failed. You can use the breadcrumbs to navigate to the new page or the old one.
You might see the following box information instead of the progress bar if another job is currently performed against the pages you selected:

Copy Behavior
When copying a page, the following happens:
- The page content, title, Objects and Class are copied
- The history is copied
- The creator is set to the current author
- The creation date is set to the date/time of the copy
Move/Rename
If you want to rename or move an existing page then you have to navigate to that page (access that page in view mode) and then select the Rename entry from the page menu (that is located to the right of the page title).

This will take you to the Rename Page Wizard where you can specify the new page title (if you want to rename) and/or the new page location (if you want to move the page to a different location).
This is what you'll see if you're a simple user (Note: you can only see the options to Move / Rename or Delete if you have the Delete Rights or if you are making the changes on a page you've created):

And if you're an advanced user you'll be able to also control:
- whether to update the back-links to the renamed page
- whether the new page will be a Terminal page (i.e., a page that cannot have children, see also Terminology) or not

If the page has child pages then you can choose to move them to the new location as well. This way the hierarchy under the renamed page is going to be preserved. Otherwise, if you choose to preserve the current path of the child pages (keep the children in place) then they will become "orphans": they will still be accessible with the same URLs (bookmarks are not broken) but they will have a missing parent (which you can fix by creating the parent page later).
By default (unless advanced users uncheck the box), all internal references in the wiki to the renamed page (and child pages) will be updated to point to the new location of the page (this includes links in content, values of wiki macro parameters, etc.), except for the limitations detailed below. The pages or objects containing these references will be updated to point to the new reference and these modifications will be visible in the history of the impacted page with a comment of type "Renamed back-links.".
In case there are external links (e.g., bookmarks) to the renamed page (or its child pages) they will be broken after the rename unless you choose to create an automatic redirect from the old location to the new one. Note: if a link was made to another wiki page as an external link (by copy-pasting the address bar in the browser) instead of using the wiki syntax to point to the page reference or the Wysiwyg Link menu, this reference is considered an external one and thus not updated automatically.
Once you click the Rename button you are taken to the Rename Status page where you can see the options that you have selected and the progress of the rename operation. The rename, like the copy, is performed asynchronously. The progress bar is replaced with the operation status at the end in order to let you know if the operation succeeded or failed. You can use the breadcrumbs to navigate to the new page or the old one.

You might see the following box information instead of the progress bar if another job is currently performed against the pages you selected:

Pages that belong to extensions
Before the success message, you might see the following screen:

It happens when you try to rename a page that belong to an extension. This page could be one of the children of the current page. If you continue the rename action, the extension might not work anymore.
This screen makes you able to select precisely which pages to rename and which ones to preserve. You can also abort the action by clicking on the "Cancel" button.
Pages that contains a used XClass
You might also see one of the following screen:


It happens when you try to rename or move a page that contains an XClass which is used somewhere. This page could be one of the children of the current page. If you continue the renaming/moving action, some other pages will not work anymore. That is why the action is completely forbidden for simple users. Advanced users are allowed to chose precisely the pages to move and those to preserve. They can also abort the action by clicking on the "Cancel" button.
XWiki 16.9.0+
Link Indexing
Before updating any links, the rename and copy operations wait for the indexing of links to finish. If there are a lot of indexing operations currently running, for example, because many pages have been updated or imported recently, this may take a long time. Therefore, if the waiting takes more than 10 seconds and is unlikely to finish in another 10 seconds, a question is displayed if you want to continue waiting. If you select the "Skip waiting" option, renaming will continue immediately but not all pages that need an update might be discovered. There is no need to react to this question, the question is automatically dismissed when the link indexing finishes.

Limitations
There are still some limitations on renaming a page, related to the update of the references pointing to that page to point to the new location of the page:
- Backlinks have to be turned on (they are turned on by default but if you have turned them off, rename will not rename backlinks and you'll have to turn them on again to benefit from this feature)
- Image references are broken when contained in a renamed terminal page
- Backlinks are saved when a page is saved thus it may happen with a clean XWiki database that backlinks are not saved. In this special case, you can call the following in a page to refresh all links (you'll need to be admin to do this):
$xwiki.refreshLinks() Only links located inside macro content and for macros whose content is of type wiki syntax, are renamed
- This means for example that links inside scripting macros are not renamed: velocity, groovy, html (with wiki syntax activated), etc.
- It also means that macros which accept wiki syntax as content but do not declare it as such (because they were built based on an older version of the API) also don't see their links renamed
- None of the backlinks located inside macro content are renamed — even those in wiki syntax macros.
- The references used in the document and reference macro parameters of the include and display macros are renamed. The page parameter is currently not renamed
- Backlinks located in XObjects and translated content are not renamed.
- XWiki <14.8 Links pointing to the renamed/moved page and located in other wikis are not currently refactored.
Show
Whenever you click on a link to a page XWiki automatically shows the page in view mode. This is the default mode. XWiki also supports displaying the page in other templates that do not focus as much on the page content and may be more adapted to specific circumstances:
Code
See View Who Edited Each Line in a Page (Blame View).
Comments
Users with the comment right can leave comments on pages. This allows them to provide feedback without requiring edit rights.
The comments area is located in the first tab at the bottom of the page.

The comment form is not displayed by default, a comment button allows you to display the comment form if needed.
XWiki 16.8.0+ The comment button now automatically focuses the text input shown.



You can also click the
button and click on "Comments" in the "Viewers" section.

On the Flamingo skin, this is the current look of the comments. To add a comment, simply enter the text then click on "Add comment".

Note: Guest users, if they have the comment right, can also post comments, but they will be asked to fill in their name and possibly to fill out a CAPTCHA (if the feature is enabled) before being able to post a new comment.
To reply to a comment, click the "Reply" icon.

In addition to plain text you may also use XWiki syntax in the content.

The author of the comment or an admin can delete a comment.

You may change the comment you made at a later time by clicking the "Edit" pen icon.

By pressing the permalink button, you can get a direct link to that comment which you can share with others.

Attachments
A page can contain attachments. See Attachments for more details.
History
Displays the version history of the page. See Version Control for more details.
Information
Displays information about the current Page (and allow making modifications in some cases):
- Page Language (XWiki <17.8.0, <17.4.5, <16.10.12 locale). The same field can display two different piece of information:
- If the current Page is a translation, then it displays the language of the translation.
- If the current Page is not a translation, then it displays the Default Language of the Page.
- See also: Change the language.
- Default Language. Only displayed if the current Language is a translation.
- Existing and missing page translations, if multilingual is on.
- Page Syntax
- Whether the Page is hidden or not.
- Included pages
- Backlinks (the list of pages having links leading to the current page)
- Page reference. This can be used as the value of a macro parameter that expects a page reference (e.g., Include Macro's reference parameter) or when calling script APIs. The reference displayed by default is relative to the current wiki, but you can use the button on the left to get a global (absolute) reference. Use the button on the right to copy the page reference to the clipboard.

Some page information can be edited in-place, from view mode, provided you have the edit right.
Children
See View Children Pages of a Page.
See Print Preview.
Export
There are several possible exporting formats that XWiki supports: PDF, RTF, XAR, HTML. See the Export feature for more information.
On the Flamingo skin:
