< Manual:Hooks
SpecialMovepageAfterMove
Available from version 1.6.0
Called after moving page.
Define function:
public static function onSpecialMovepageAfterMove( &$form, &$ot , &$nt ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"SpecialMovepageAfterMove": "MyExtensionHooks::onSpecialMovepageAfterMove"
	}
}
Called from: File(s): specials/SpecialMovepage.php
Interface: SpecialMovepageAfterMoveHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:SpecialMovepageAfterMove extensions.

Details

This hook may be used to execute additional functions after a page has been moved.

Arguments

  • &$form: MovePageForm
  • &$ot: Title object of the old article (moved from)
  • &$nt: Title object of the new article (moved to)

See also

  • Manual:Hooks/AbortMove
  • Manual:Hooks/TitleMove
  • Manual:Hooks/TitleMoveComplete
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.