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): CirrusSearch / Updater.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:CirrusSearchBuildDocumentFinishBatch extensions.
Details
edit- $pages - list of WikiPage objects which have been indexed.