Extension:CirrusSearch/Hooks/CirrusSearchBuildDocumentFinishBatch

From MediaWiki.org
Jump to navigation Jump to search
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 .

Details[edit]

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

See also[edit]