Manual:Hooks/OtherAutoblockLogLink

OtherAutoblockLogLink
Available from version 1.29.0 (Gerrit change 341376)
Get links to the autoblock log from extensions which autoblocks users and/or IP addresses too..
Define function:
public static function onOtherAutoblockLogLink( &$otherBlockLink ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"OtherAutoblockLogLink": "MyExtensionHooks::onOtherAutoblockLogLink"
	}
}
Called from: File(s): specials/SpecialAutoblockList.php
Interface: OtherAutoblockLogLinkHook.php

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


DetailsEdit

  • $otherBlockLink: An array with links to other autoblock logs