MediaWiki  master
MediaWiki\ChangeTags\Hook\ChangeTagAfterDeleteHook Interface Reference

Stable for implementation. More...

Inheritance diagram for MediaWiki\ChangeTags\Hook\ChangeTagAfterDeleteHook:

Public Member Functions

 onChangeTagAfterDelete ( $tag, &$status)
 This hook is called after a change tag has been deleted (that is, removed from all revisions and log entries to which it was applied). More...
 

Detailed Description

Stable for implementation.

Definition at line 11 of file ChangeTagAfterDeleteHook.php.

Member Function Documentation

◆ onChangeTagAfterDelete()

MediaWiki\ChangeTags\Hook\ChangeTagAfterDeleteHook::onChangeTagAfterDelete (   $tag,
$status 
)

This hook is called after a change tag has been deleted (that is, removed from all revisions and log entries to which it was applied).

This gives extensions a chance to take it off their books.

Since
1.35
Parameters
string$tagName of the tag
Status&$statusAdd warnings to this as required. There is no point setting errors, as the deletion has already been partly carried out by this point.
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: