MediaWiki REL1_39
MediaWiki\Hook\SkinAfterContentHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SkinAfterContentHook:

Public Member Functions

 onSkinAfterContent (&$data, $skin)
 Use this hook to add text after the page content and article metadata.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file SkinAfterContentHook.php.

Member Function Documentation

◆ onSkinAfterContent()

MediaWiki\Hook\SkinAfterContentHook::onSkinAfterContent ( & $data,
$skin )

Use this hook to add text after the page content and article metadata.

This hook should work in all skins. Set the &$data variable to the text you're going to add.

Since
1.35
Parameters
string&$dataText to be printed out directly (without parsing)
Skin$skin
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: