MediaWiki REL1_37
MediaWiki\Hook\LinksUpdateCompleteHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\LinksUpdateCompleteHook:

Public Member Functions

 onLinksUpdateComplete ( $linksUpdate, $ticket)
 This hook is called at the end of LinksUpdate::doUpdate() when updating, including delete and insert, has completed for all link tables.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "LinksUpdateComplete" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file LinksUpdateCompleteHook.php.

Member Function Documentation

◆ onLinksUpdateComplete()

MediaWiki\Hook\LinksUpdateCompleteHook::onLinksUpdateComplete (   $linksUpdate,
  $ticket 
)

This hook is called at the end of LinksUpdate::doUpdate() when updating, including delete and insert, has completed for all link tables.

Since
1.35
Parameters
LinksUpdate$linksUpdate
mixed$ticketPrior result of LBFactory::getEmptyTransactionTicket()
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: