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": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialPageGetRedirect"
	}
}
Called from: File(s): includes/SpecialPage.php
Interface: SpecialPageGetRedirectHook.php

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

Details

edit
  • &$redirects: