3 namespace MediaWiki\Skins\Hook
;
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "SkinAfterPortlet" to register handlers implementing this interface.
11 * @stable to implement
14 interface SkinAfterPortletHook
{
16 * This hook is called when generating portlets.
17 * It allows injecting custom HTML after the portlet.
22 * @param string $portletName
23 * @param string &$html
24 * @return bool|void True or no return value to continue or false to abort
26 public function onSkinAfterPortlet( $skin, $portletName, &$html );