MediaWiki REL1_35
MediaWiki\Hook\EditPageCopyrightWarningHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\EditPageCopyrightWarningHook:

Public Member Functions

 onEditPageCopyrightWarning ( $title, &$msg)
 Use this hook for site and per-namespace customization of contribution/copyright notice.
 

Detailed Description

Stable to implement.

Definition at line 11 of file EditPageCopyrightWarningHook.php.

Member Function Documentation

◆ onEditPageCopyrightWarning()

MediaWiki\Hook\EditPageCopyrightWarningHook::onEditPageCopyrightWarning (   $title,
$msg 
)

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

Since
1.35
Parameters
Title$titleTitle of page being edited
array&$msgAn array of arguments to wfMessage(), overridable. The default is an array containing either 'copyrightwarning' or 'copyrightwarning2' as the first element (the message key).
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: