Merge ".mailmap: Correct two contributor names"
[mediawiki.git] / includes / skins / Hook / SkinCopyrightFooterMessageHook.php
blob1426a096bc8a62c80bfdf8791a7c55135517ee58
1 <?php
3 namespace MediaWiki\Hook;
5 use MediaWiki\Title\Title;
6 use Wikimedia\Message\MessageSpecifier;
8 /**
9 * This is a hook handler interface, see docs/Hooks.md.
10 * Use the hook name "SkinCopyrightFooterMessage" to register handlers implementing this interface.
12 * @stable to implement
13 * @ingroup Hooks
15 interface SkinCopyrightFooterMessageHook {
16 /**
17 * Use this hook for site and per-namespace customization of the copyright notice as wikitext.
19 * @since 1.43
21 * @param Title $title Displayed page title
22 * @param string $type Set to 'normal' or 'history' for old/diff views
23 * @param MessageSpecifier &$msg Overridable message.
24 * The default key is 'copyright-footer' or 'copyright-footer-history' for old/diff views,
25 * with a link the license as the first parameter. The message will be displayed with parse().
26 * @return bool|void True or no return value to continue or false to abort
28 public function onSkinCopyrightFooterMessage( $title, $type, &$msg );