MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onEditPageCopyrightWarning ( $title, &$msg) | |
Use this hook for site and per-namespace customization of contribution/copyright notice. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "EditPageCopyrightWarning" to register handlers implementing this interface.
Definition at line 14 of file EditPageCopyrightWarningHook.php.
MediaWiki\Hook\EditPageCopyrightWarningHook::onEditPageCopyrightWarning | ( | $title, | |
& | $msg ) |
Use this hook for site and per-namespace customization of contribution/copyright notice.
Title | $title | Title of page being edited |
array | &$msg | An array of arguments to wfMessage(), overridable. The default is an array containing either 'copyrightwarning' or 'copyrightwarning2' as the first element (the message key). |
Implemented in MediaWiki\HookContainer\HookRunner.