Open main menu

Extension:CirrusSearch/Hooks/CirrusSearchBuildDocumentFinishBatch

CirrusSearchBuildDocumentFinishBatch
Available from version 1.23.0
Called when a batch of pages has been indexed
Define function:
public static function onCirrusSearchBuildDocumentFinishBatch( array $pages ) { ... }
Attach hook:
$wgHooks['CirrusSearchBuildDocumentFinishBatch'][] = 'MyExtensionHooks::onCirrusSearchBuildDocumentFinishBatch';
Called from:File(s): Updater.php

For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:CirrusSearchBuildDocumentFinishBatch extensions.

This hook is a part of CirrusSearch extension .

DetailsEdit

  • $pages - list of WikiPage objects which have been indexed.

See alsoEdit