MediaWiki REL1_39
MediaWiki\Hook\OtherBlockLogLinkHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\OtherBlockLogLinkHook:

Public Member Functions

 onOtherBlockLogLink (&$otherBlockLink, $ip)
 Use this hook to add list items to a list of "other blocks" when viewing Special:BlockList.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "OtherBlockLogLink" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 of file OtherBlockLogLinkHook.php.

Member Function Documentation

◆ onOtherBlockLogLink()

MediaWiki\Hook\OtherBlockLogLinkHook::onOtherBlockLogLink ( & $otherBlockLink,
$ip )

Use this hook to add list items to a list of "other blocks" when viewing Special:BlockList.

Handlers should append HTML fragments to the $otherBlockLink array.

Since
1.35
Parameters
string[]&$otherBlockLinkArray of HTML fragments
string$ipThe requested IP address or username, or an empty string if Special:BlockList is showing all blocks.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: