MediaWiki REL1_35
MediaWiki\Hook\PageHistoryPager__doBatchLookupsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\PageHistoryPager__doBatchLookupsHook:

Public Member Functions

 onPageHistoryPager__doBatchLookups ( $pager, $result)
 This hook is called after the pager query was run, before any output is generated, to allow batch lookups for prefetching information needed for display.
 

Detailed Description

Stable to implement.

Definition at line 13 of file PageHistoryPager__doBatchLookupsHook.php.

Member Function Documentation

◆ onPageHistoryPager__doBatchLookups()

MediaWiki\Hook\PageHistoryPager__doBatchLookupsHook::onPageHistoryPager__doBatchLookups (   $pager,
  $result 
)

This hook is called after the pager query was run, before any output is generated, to allow batch lookups for prefetching information needed for display.

Since
1.35
Parameters
HistoryPager$pager
IResultWrapper$resultA ResultWrapper representing the query result
Returns
bool|void True or no return value to continue. False to skip the regular behavior of doBatchLookups().

Implemented in MediaWiki\HookContainer\HookRunner.


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