Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Hook; |
4 | |
5 | use Skin; |
6 | |
7 | /** |
8 | * This is a hook handler interface, see docs/Hooks.md. |
9 | * Use the hook name "SkinAfterContent" to register handlers implementing this interface. |
10 | * |
11 | * @stable to implement |
12 | * @ingroup Hooks |
13 | */ |
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. |
19 | * |
20 | * @since 1.35 |
21 | * |
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 |
25 | */ |
26 | public function onSkinAfterContent( &$data, $skin ); |
27 | } |