MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onCategoryViewer__doCategoryQuery ( $type, $res) | |
This hook is called after querying for pages to be displayed in a Category page. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "CategoryViewer::doCategoryQuery" to register handlers implementing this interface.
Definition at line 15 of file CategoryViewer__doCategoryQueryHook.php.
MediaWiki\Hook\CategoryViewer__doCategoryQueryHook::onCategoryViewer__doCategoryQuery | ( | $type, | |
$res ) |
This hook is called after querying for pages to be displayed in a Category page.
Use this hook to batch load any related data about the pages.
string | $type | Category type, either 'page', 'file', or 'subcat' |
IResultWrapper | $res | Query result from Wikimedia\Rdbms\IDatabase::select() |
Implemented in MediaWiki\HookContainer\HookRunner.