mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-18 19:12:16 +00:00
64bcb583e9
Done automatically via script Change to extension.json done manually Change-Id: Ied7bbddd357290ac6be6bf480be0ee9116e77365
24 lines
683 B
PHP
24 lines
683 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\DiscussionTools\Hooks;
|
|
|
|
use MediaWiki\Config\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 );
|
|
}
|