From mediawiki.org
Jump to navigation Jump to search
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): CirrusSearch / Updater.php

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


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