MediaWiki REL1_37
MediaWiki\Hook\ContribsPager__reallyDoQueryHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\ContribsPager__reallyDoQueryHook:

Public Member Functions

 onContribsPager__reallyDoQuery (&$data, $pager, $offset, $limit, $descending)
 This hook is called before really executing the query for My Contributions.
 

Detailed Description

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

Use the hook name "ContribsPager::reallyDoQuery" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file ContribsPager__reallyDoQueryHook.php.

Member Function Documentation

◆ onContribsPager__reallyDoQuery()

MediaWiki\Hook\ContribsPager__reallyDoQueryHook::onContribsPager__reallyDoQuery ( $data,
  $pager,
  $offset,
  $limit,
  $descending 
)

This hook is called before really executing the query for My Contributions.

Since
1.35
Parameters
array&$dataan array of results of all contribs queries
ContribsPager$pagerThe ContribsPager object hooked into
string$offsetIndex offset, inclusive
int$limitExact query limit
bool$descendingQuery direction, false for ascending, true for descending
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: