MediaWiki REL1_39
MediaWiki\Hook\BaseTemplateAfterPortletHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\BaseTemplateAfterPortletHook:

Public Member Functions

 onBaseTemplateAfterPortlet ( $template, $portlet, &$html)
 This hook is called after output of portlets, allow injecting custom HTML after the section.
 

Detailed Description

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

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

Deprecated
since 1.35 (emits deprecation warnings since 1.37), Use SkinAfterPortlet instead

Definition at line 14 of file BaseTemplateAfterPortletHook.php.

Member Function Documentation

◆ onBaseTemplateAfterPortlet()

MediaWiki\Hook\BaseTemplateAfterPortletHook::onBaseTemplateAfterPortlet ( $template,
$portlet,
& $html )

This hook is called after output of portlets, allow injecting custom HTML after the section.

Any uses of the hook need to handle escaping.

Since
1.35
Parameters
BaseTemplate$template
string$portletPortlet name
string&$html
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: