Merge ".mailmap: Correct two contributor names"
[mediawiki.git] / includes / skins / Hook / UndeletePageToolLinksHook.php
blobe6f494ac9a3c104995cfe8fe0a0df3d07d115b02
1 <?php
3 namespace MediaWiki\Hook;
5 use MediaWiki\Context\IContextSource;
6 use MediaWiki\Linker\LinkRenderer;
8 /**
9 * This is a hook handler interface, see docs/Hooks.md.
10 * Use the hook name "UndeletePageToolLinks" to register handlers implementing this interface.
12 * @stable to implement
13 * @ingroup Hooks
15 interface UndeletePageToolLinksHook {
16 /**
17 * Use this hook to add one or more links to edit page subtitle when a page
18 * has been previously deleted.
20 * @since 1.35
22 * @param IContextSource $context
23 * @param LinkRenderer $linkRenderer
24 * @param string[] &$links Array of HTML strings
25 * @return bool|void True or no return value to continue or false to abort
27 public function onUndeletePageToolLinks( IContextSource $context, LinkRenderer $linkRenderer, array &$links );