Manual:Hooks/SpecialMovepageAfterMove
From MediaWiki.org
| SpecialMovepageAfterMove | |
|---|---|
| Available from version 1.6.0 Called after moving page. |
|
Define function: |
public static function onSpecialMovepageAfterMove( &$form, &$ot , &$nt ) { ... }
|
Attach hook: |
$wgHooks['SpecialMovepageAfterMove'][] = 'MyExtensionHooks::onSpecialMovepageAfterMove'; |
| Called from: | SpecialMovepage.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SpecialMovepageAfterMove extensions.
Details[edit]
This hook may be used to execute an additional functions after a page is moved.
Arguments[edit]
- &$form: MovePageForm
- &$ot: Title object of the old article (moved from)
- &$nt: Title object of the new article (moved to)