MediaWiki master
MediaWiki\Hook\SkinCopyrightFooterMessageHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSkinCopyrightFooterMessage ( $title, $type, &$msg)
 Use this hook for site and per-namespace customization of the copyright notice as wikitext.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SkinCopyrightFooterMessage" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file SkinCopyrightFooterMessageHook.php.

Member Function Documentation

◆ onSkinCopyrightFooterMessage()

MediaWiki\Hook\SkinCopyrightFooterMessageHook::onSkinCopyrightFooterMessage ( $title,
$type,
& $msg )

Use this hook for site and per-namespace customization of the copyright notice as wikitext.

Since
1.43
Parameters
Title$titleDisplayed page title
string$typeSet to 'normal' or 'history' for old/diff views
MessageSpecifier&$msgOverridable message. The default key is 'copyright-footer' or 'copyright-footer-history' for old/diff views, with a link the license as the first parameter. The message will be displayed with parse().
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: