MediaWiki master
MediaWiki\Hook\InfoActionHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 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, see InfoAction::pageInfo()
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: