MediaWiki  master
MediaWiki\Hook\FetchChangesListHook Interface Reference

Stable for implementation. More...

Inheritance diagram for MediaWiki\Hook\FetchChangesListHook:

Public Member Functions

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

Detailed Description

Stable for implementation.

Definition at line 14 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 to override the list derivative used

Implemented in MediaWiki\HookContainer\HookRunner.


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