MediaWiki REL1_39
MediaWiki\Hook\SkinCopyrightFooterHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SkinCopyrightFooterHook:

Public Member Functions

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

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file SkinCopyrightFooterHook.php.

Member Function Documentation

◆ onSkinCopyrightFooter()

MediaWiki\Hook\SkinCopyrightFooterHook::onSkinCopyrightFooter ( $title,
$type,
& $msg,
& $link )

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

Since
1.35
Parameters
Title$titleDisplayed page title
string$typeSet to 'normal' or 'history' for old/diff views
string&$msgOverridable message, usually 'copyright' or 'history_copyright'. This message must be in HTML format, not wikitext!
string&$linkOverridable HTML link to be passed into the message as $1
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: