Manual:Hooks/CategoryViewer::doCategoryQuery

This hook gives extensions the opportunity to batch load any related data about the pages.

Details

 * : The category type as a string. Either 'page', 'file' or 'subcat'
 * : IResultWrapper instance, a query result from Wikimedia\Rdbms\IDatabase::select