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": "MyExtensionHooks::onSpecialPageExecuteAfterPage"

For MediaWiki ≤1.25:

$wgHooks['SpecialPageExecuteAfterPage'][] = 'MyExtensionHooks::onSpecialPageExecuteAfterPage';
Called from:File(s): SpecialPage.php

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


  • $specialPage: SpecialPage object
  • $par: paramter passed to the special page (string)
  • $funct: function called to execute the special page