Manual:Hooks/BacklinkCacheGetPrefix

From MediaWiki.org
Jump to: navigation, search
BacklinkCacheGetPrefix
Available from version 1.19.0 (r94435)
allows to set prefix for a spefific link table

Define function:
public static function onBacklinkCacheGetPrefix( $table, &$prefix ) { ... }

Attach hook:
$wgHooks['BacklinkCacheGetPrefix'][] = 'MyExtensionHooks::onBacklinkCacheGetPrefix';
Called from: BacklinkCache.php

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