649 B
649 B
- Since: 2.5
- Description: Hook allows to add extra jobs after
UpdateDispatcherJobhas been processed. - Reference class:
UpdateDispatcherJob.php
Signature
use MediaWiki\MediaWikiServices;
use SMW\MediaWiki\Jobs\UpdateDispatcherJob;
\MediaWikiServices::getInstance()->getHookContainer()->register( 'SMW::Job::AfterUpdateDispatcherJobComplete', function( UpdateDispatcherJob $job ) {
// Find related dependencies
$title = $job->getTitle();
return true;
} );