Manual:Hooks/BacklinkCacheGetPrefix

Category:MediaWiki hooks#BacklinkCacheGetPrefix Category:Hooks added in MediaWiki 1.19.0#BacklinkCacheGetPrefix
BacklinkCacheGetPrefix
Available from version 1.19.0 (r94435, CodeReview archive)
allows to set prefix for a spefific link table
Define function:
public static function onBacklinkCacheGetPrefix( $table, &$prefix ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"BacklinkCacheGetPrefix": "MediaWiki\\Extension\\MyExtension\\Hooks::onBacklinkCacheGetPrefix"
	}
}
Called from: File(s): cache/BacklinkCache.phpCategory:MediaWiki hooks included in BacklinkCache.php#BacklinkCacheGetPrefix
Interface: BacklinkCacheGetPrefixHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:BacklinkCacheGetPrefix extensions.

Category:Hooks added in MediaWiki 1.19.0 Category:MediaWiki hooks Category:MediaWiki hooks included in BacklinkCache.php