Manual:Page moving

Moving a page causes the title>Special:MyLanguage/Manual:Page title|page title to change while the table>Special:MyLanguage/Manual:Page table#page_id|page id remains the same.

If a man>Special:MyLanguage/Manual:Redirect|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   (ApiMove.php).

Moving a page, and then moving it again, can create double redirects.

Database
There are two possible kinds of page move man>Special:MyLanguage/Manual:Log actions|log actions: move and move_redir.

The latter refers to a move over a redirect.

API
A page move api>Special:MyLanguage/API:Logevents|log event has a "move" sub-element, e.g.  

Hooks
Hooks that pertain to page moves are:


 * (MovePageForm::doSubmit)
 * (Title::moveTo)
 * (Title::isValidMoveOperation)