MediaWiki REL1_35
MediaWiki\Hook\LinksUpdateAfterInsertHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\LinksUpdateAfterInsertHook:

Public Member Functions

 onLinksUpdateAfterInsert ( $linksUpdate, $table, $insertions)
 This hook is called at the end of LinksUpdate::incrTableUpdate() after each link table insert.
 

Detailed Description

Stable to implement.

Definition at line 11 of file LinksUpdateAfterInsertHook.php.

Member Function Documentation

◆ onLinksUpdateAfterInsert()

MediaWiki\Hook\LinksUpdateAfterInsertHook::onLinksUpdateAfterInsert (   $linksUpdate,
  $table,
  $insertions 
)

This hook is called at the end of LinksUpdate::incrTableUpdate() after each link table insert.

For example: pagelinks, imagelinks, externallinks.

Since
1.35
Parameters
LinksUpdate$linksUpdate
string$tableTable to insert links to
array$insertionsArray of links to insert
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: