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