MediaWiki master
MediaWiki\Hook\FetchChangesListHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onFetchChangesList ( $user, $skin, &$list, $groups)
 This hook is called when fetching the ChangesList derivative for a particular user.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 17 of file FetchChangesListHook.php.

Member Function Documentation

◆ onFetchChangesList()

MediaWiki\Hook\FetchChangesListHook::onFetchChangesList ( $user,
$skin,
& $list,
$groups )

This hook is called when fetching the ChangesList derivative for a particular user.

Since
1.35
Parameters
User$userUser the list is being fetched for
Skin$skinSkin object to be used with the list
ChangesList | null&$listDefaults to NULL. Change it to an object instance and return false to override the list derivative used.
ChangesListFilterGroup[]$groupsAdded in 1.34
Returns
bool|void True or no return value to continue, or false to override the list derivative used

Implemented in MediaWiki\HookContainer\HookRunner.


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