568 B
568 B
- Since: 2.3
- Description: Hook to add update jobs while running the rebuild process. (
smwRefreshDataJobswas deprecated with 2.3) - Reference class:
Rebuilder.php
Signature
use MediaWiki\MediaWikiServices;
use SMW\SQLStore\SQLStore;
MediaWikiServices::getInstance()->getHookContainer()->register( 'SMW::SQLStore::BeforeDataRebuildJobInsert', function( SQLStore $store, array &$jobs ) {
return true;
} );