Manual:Hooks/OtherAutoblockLogLink

From Linux Web Expert

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

<translate> For more information about attaching hooks, see <tvar name=1>Manual:Hooks </tvar>.</translate>
<translate> For examples of extensions using this hook, see <tvar name=cat>Category:OtherAutoblockLogLink extensions</tvar>.</translate>


Details

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