Moving a page causes the page title to change while the page id remains the same, and the revision history is retained.
 If a redirect is created under the moved page's former page title, it will have a new page id.
 Pages can be moved using Special:MovePage (SpecialMovepage.php) or action=move (ApiMove.php).
Moving a page, and then moving it again, can create double redirects.
Database
 There are two possible kinds of page move log actions: move and move_redir.
 The latter refers to a move over a redirect.
API
A page move log event has a "move" sub-element, e.g. <move new_ns="0" new_title="Foo" suppressredirect="" />
Hooks
Hooks that pertain to page moves are:
- SpecialMovepageAfterMove (MovePageForm::doSubmit)
- TitleMoveComplete (Title::moveTo)
- AbortMove (Title::isValidMoveOperation)
See also
- Manual:$wgMaximumMovedPages
- Help:Moving a page
- Manual:MoveBatch.php
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.
