MediaWiki REL1_39
MediaWiki\Hook\PageHistoryPager__doBatchLookupsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. 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

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

Use the hook name "PageHistoryPager::doBatchLookups" to register handlers implementing this interface.

Stability: stable
to implement

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