MediaWiki  master
MediaWiki\Hook\SkinAfterContentHook Interface Reference

Stable to implement. 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. More...
 

Detailed Description

Stable to implement.

Definition at line 11 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: