MediaWiki  master
InfoActionHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 
14 interface InfoActionHook {
24  public function onInfoAction( $context, &$pageInfo );
25 }
Interface for objects which can provide a MediaWiki context on request.
This is a hook handler interface, see docs/Hooks.md.
onInfoAction( $context, &$pageInfo)
This hook is called when building information to display on the action=info page.