Merge ".mailmap: Correct two contributor names"
[mediawiki.git] / includes / skins / Hook / SkinAfterContentHook.php
blob707c770fe82cc2219183162b5f2370391ce372c4
1 <?php
3 namespace MediaWiki\Hook;
5 use Skin;
7 /**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "SkinAfterContent" to register handlers implementing this interface.
11 * @stable to implement
12 * @ingroup Hooks
14 interface SkinAfterContentHook {
15 /**
16 * Use this hook to add text after the page content and
17 * article metadata. This hook should work in all skins. Set the &$data variable to
18 * the text you're going to add.
20 * @since 1.35
22 * @param string &$data Text to be printed out directly (without parsing)
23 * @param Skin $skin
24 * @return bool|void True or no return value to continue or false to abort
26 public function onSkinAfterContent( &$data, $skin );