MediaWiki master
MediaWiki\Hook\SkinCopyrightFooterHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

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 as raw HTML.

Since
1.35
Deprecated
since 1.43, use SkinCopyrightFooterMessage hook instead.
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: