Manual:Hooks/SpecialPageGetRedirect

SpecialPageGetRedirect
Available from version 1.6.0
Removed in version 1.9.0

Define function:
public static function onSpecialPageGetRedirect( &$redirects ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"SpecialPageGetRedirect": "MyExtensionHooks::onSpecialPageGetRedirect"
	}
}
Called from: File(s): includes/SpecialPage.php
Interface: SpecialPageGetRedirectHook.php

For more information about attaching hooks, see Manual:Hooks .

DetailsEdit

  • &$redirects: