MediaWiki REL1_35
MediaWiki\Hook\OtherBlockLogLinkHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 9 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: