MediaWiki master
MediaWiki\Hook\SpecialContributions__getForm__filtersHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSpecialContributions__getForm__filters ( $sp, &$filters)
 This hook is called with a list of filters to render on Special:Contributions.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SpecialContributions::getForm::filters" to register handlers implementing this interface.

This hook is run for any ContributionsSpecialPage, not just SpecialContributions.

Stability: stable
to implement

Definition at line 17 of file SpecialContributions__getForm__filtersHook.php.

Member Function Documentation

◆ onSpecialContributions__getForm__filters()

MediaWiki\Hook\SpecialContributions__getForm__filtersHook::onSpecialContributions__getForm__filters ( $sp,
& $filters )

This hook is called with a list of filters to render on Special:Contributions.

Since
1.35
Parameters
ContributionsSpecialPage$spSpecial page object, for context
array&$filtersList of filter object definitions (compatible with OOUI form)
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: