|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onSpecialContributionsBeforeMainOutput ( $id, $user, $sp) | |
| This hook is called before the form on Special:Contributions. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialContributionsBeforeMainOutput" to register handlers implementing this interface.
This hook is run for any ContributionsSpecialPage, not just SpecialContributions.
Definition at line 17 of file SpecialContributionsBeforeMainOutputHook.php.
| MediaWiki\Specials\Hook\SpecialContributionsBeforeMainOutputHook::onSpecialContributionsBeforeMainOutput | ( | $id, | |
| $user, | |||
| $sp ) |
This hook is called before the form on Special:Contributions.
| int | $id | User id number, only provided for backwards-compatibility |
| User | $user | User object representing user contributions are being fetched for |
| ContributionsSpecialPage | $sp | SpecialPage instance, providing context |
Implemented in MediaWiki\HookContainer\HookRunner.