MediaWiki
master
InfoActionHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Actions\Hook
;
4
5
use
MediaWiki\Context\IContextSource
;
6
use
MediaWiki\Message\Message
;
7
15
interface
InfoActionHook
{
26
public
function
onInfoAction
( $context, &$pageInfo );
27
}
28
30
class_alias( InfoActionHook::class,
'MediaWiki\\Hook\\InfoActionHook'
);
MediaWiki\Message\Message
The Message class deals with fetching and processing of interface message into a variety of formats.
Definition
Message.php:144
MediaWiki\Actions\Hook\InfoActionHook
This is a hook handler interface, see docs/Hooks.md.
Definition
InfoActionHook.php:15
MediaWiki\Actions\Hook\InfoActionHook\onInfoAction
onInfoAction( $context, &$pageInfo)
This hook is called when building information to display on the action=info page.
MediaWiki\Context\IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:57
MediaWiki\Actions\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Actions
Hook
InfoActionHook.php
Generated on Tue Jun 16 2026 11:25:08 for MediaWiki by
1.10.0