gplx/mediawiki/extensions/SemanticMediaWiki/docs/technical/hooks/hook.maintenance.afterupdat...

974 B

SMW::Maintenance::AfterUpdateEntityCollationComplete

  • Since: 3.1
  • Description: Hook to allow to run other updates after the updateEntityCollection.php script has finished processing the update of entity collation changes
  • Reference class: updateEntityCollation.php

Signature

use MediaWiki\MediaWikiServices;
use SMW\Store;
use Onoi\MessageReporter\MessageReporter;

MediaWikiServices::getInstance()->getHookContainer()->register( 'SMW::Maintenance::AfterUpdateEntityCollationComplete', function( Store $store, MessageReporter $messageReporter ) {

	return true;
} );

See also