MediaWiki master
MediaWiki\ChangeTags\Hook\ChangeTagAfterDeleteHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

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

Detailed Description

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

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

Stability: stable
to implement

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