MediaWiki REL1_39
MediaWiki\Hook\SpecialContributionsBeforeMainOutputHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SpecialContributionsBeforeMainOutputHook:

Public Member Functions

 onSpecialContributionsBeforeMainOutput ( $id, $user, $sp)
 This hook is called before the form on Special:Contributions.
 

Detailed Description

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

Use the hook name "SpecialContributionsBeforeMainOutput" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file SpecialContributionsBeforeMainOutputHook.php.

Member Function Documentation

◆ onSpecialContributionsBeforeMainOutput()

MediaWiki\Hook\SpecialContributionsBeforeMainOutputHook::onSpecialContributionsBeforeMainOutput ( $id,
$user,
$sp )

This hook is called before the form on Special:Contributions.

Since
1.35
Parameters
int$idUser id number, only provided for backwards-compatibility
User$userUser object representing user contributions are being fetched for
SpecialContributions$spSpecialPage instance, providing context
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: