< Manual:Hooks 
 
        
      | BacklinkCacheGetConditions | |
|---|---|
| Available from version 1.19.0 (r94435, codereview) allows to set conditions for query when links to certain title | |
| Define function: | public static function onBacklinkCacheGetConditions( $table, $title, &$conditions ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"BacklinkCacheGetConditions": "MyExtensionHooks::onBacklinkCacheGetConditions"
	}
}
 | 
| Called from: | File(s): cache/BacklinkCache.php | 
| Interface: | BacklinkCacheGetConditionsHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:BacklinkCacheGetConditions extensions.
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.