MediaWiki  master
MediaWiki\Hook\EditPageTosSummaryHook Interface Reference

Stable for implementation. More...

Inheritance diagram for MediaWiki\Hook\EditPageTosSummaryHook:

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. More...
 

Detailed Description

Stable for implementation.

Definition at line 11 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: