MediaWiki  master
MediaWiki\Cache\Hook\BacklinkCacheGetConditionsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Cache\Hook\BacklinkCacheGetConditionsHook:

Public Member Functions

 onBacklinkCacheGetConditions ( $table, $title, &$conds)
 Use this hook to set conditions for query when links to certain title are fetched. More...
 

Detailed Description

Stable to implement.

Definition at line 11 of file BacklinkCacheGetConditionsHook.php.

Member Function Documentation

◆ onBacklinkCacheGetConditions()

MediaWiki\Cache\Hook\BacklinkCacheGetConditionsHook::onBacklinkCacheGetConditions (   $table,
  $title,
$conds 
)

Use this hook to set conditions for query when links to certain title are fetched.

Since
1.35
Parameters
string$tableTable name
Title$titleTitle of the page to which backlinks are sought
array&$condsQuery conditions
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: