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 MediaWiki\Title\Title; |
6 | use PageArchive; |
7 | |
8 | // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps |
9 | /** |
10 | * This is a hook handler interface, see docs/Hooks.md. |
11 | * Use the hook name "UndeleteForm::showHistory" to register handlers implementing this interface. |
12 | * |
13 | * @stable to implement |
14 | * @ingroup Hooks |
15 | */ |
16 | interface UndeleteForm__showHistoryHook { |
17 | /** |
18 | * This hook is called in UndeleteForm::showHistory, after creating the PageArchive object |
19 | * |
20 | * @since 1.35 |
21 | * |
22 | * @param PageArchive &$archive PageArchive object |
23 | * @param Title $title Title object of the page that we're viewing |
24 | * @return bool|void True or no return value to continue or false to abort |
25 | */ |
26 | public function onUndeleteForm__showHistory( &$archive, $title ); |
27 | } |