Open main menu

Manual:Hooks/SpecialRecentChangesPanel

SpecialRecentChangesPanel
Available from version 1.13.0
Called when building form options in SpecialRecentchanges.
Define function:
public static function onSpecialRecentChangesPanel( &$extraOpts, $opts ) { ... }
Attach hook:

In extension.json:

{
	"Hooks": {
		"SpecialRecentChangesPanel": "MyExtensionHooks::onSpecialRecentChangesPanel"
	}
}

For MediaWiki ≤1.25:

$wgHooks['SpecialRecentChangesPanel'][] = 'MyExtensionHooks::onSpecialRecentChangesPanel';
Called from:File(s): specials/SpecialRecentChanges.php

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

DetailsEdit

  • &$extraOpts: array of added items, to which can be added
  • $opts: FormOptions for this request