MediaWiki master
MediaWiki\Hook\EditPageTosSummaryHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onEditPageTosSummary ( $title, &$msg)
 Use this hook for site and per-namespace customizations of terms of service summary link that might exist separately from the copyright notice.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file EditPageTosSummaryHook.php.

Member Function Documentation

◆ onEditPageTosSummary()

MediaWiki\Hook\EditPageTosSummaryHook::onEditPageTosSummary ( $title,
& $msg )

Use this hook for site and per-namespace customizations of terms of service summary link that might exist separately from the copyright notice.

Since
1.35
Parameters
Title$titleTitle of page being edited
string&$msgLocalization message name, overridable. Defaults to 'editpage-tos-summary'
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: