MediaWiki REL1_35
MediaWiki\Hook\SpecialContributionsBeforeMainOutputHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 12 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: