MediaWiki  master
MediaWiki\Hook\LinksUpdateAfterInsertHook Interface Reference

Stable for implementation. 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. More...
 

Detailed Description

Stable for implementation.

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: