Jump to content

Manual:Hooks/OtherAutoblockLogLink

From mediawiki.org
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": "MediaWiki\\Extension\\MyExtension\\Hooks::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.


Details

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