MediaWiki  master
MediaWiki\Hook\InfoActionHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\InfoActionHook:

Public Member Functions

 onInfoAction ( $context, &$pageInfo)
 This hook is called when building information to display on the action=info page. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 14 of file InfoActionHook.php.

Member Function Documentation

◆ onInfoAction()

MediaWiki\Hook\InfoActionHook::onInfoAction (   $context,
$pageInfo 
)

This hook is called when building information to display on the action=info page.

Since
1.35
Parameters
IContextSource$context
array&$pageInfoArray of information
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: