mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-20 20:03:42 +00:00
378769a974
Bug: T273303 Change-Id: I6d00848f07fc7d17f3dc7f44b7b6b61553219558
24 lines
666 B
PHP
24 lines
666 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\DiscussionTools\Hooks;
|
|
|
|
use Config;
|
|
use MessageLocalizer;
|
|
|
|
/**
|
|
* This is a hook handler interface, see docs/Hooks.md in core.
|
|
* Use the hook name "DiscussionToolsTermsOfUseMessages" to register handlers implementing this interface.
|
|
*
|
|
* @stable to implement
|
|
* @ingroup Hooks
|
|
*/
|
|
interface DiscussionToolsTermsOfUseMessagesHook {
|
|
/**
|
|
* @param array &$messages
|
|
* @param MessageLocalizer $context
|
|
* @param Config $config
|
|
* @return bool|void True or no return value to continue or false to abort
|
|
*/
|
|
public function onDiscussionToolsTermsOfUseMessages( array &$messages, MessageLocalizer $context, Config $config );
|
|
}
|