Manual:Hooks/SpecialPageExecuteAfterPage
Appearance
This feature was removed from MediaWiki core in version 1.14.0. Please see SpecialPageAfterExecute for an alternative way to use this feature. |
SpecialPageExecuteAfterPage | |
---|---|
Available from version 1.6.0 Removed in version 1.14.0 called after executing a special page | |
Define function: | public static function onSpecialPageExecuteAfterPage( $specialPage, $par, $funct ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"SpecialPageExecuteAfterPage": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialPageExecuteAfterPage"
}
}
|
Called from: | File(s): SpecialPage.php |
Interface: | SpecialPageExecuteAfterPageHook.php |
For more information about attaching hooks, see Manual:Hooks .
Details
[edit]- $specialPage: SpecialPage object
- $par: paramter passed to the special page (string)
- $funct: function called to execute the special page