MediaWiki REL1_35
MediaWiki\ChangeTags\Hook\ChangeTagsAfterUpdateTagsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\ChangeTags\Hook\ChangeTagsAfterUpdateTagsHook:

Public Member Functions

 onChangeTagsAfterUpdateTags ( $addedTags, $removedTags, $prevTags, $rc_id, $rev_id, $log_id, $params, $rc, $user)
 This hook is called after tags have been updated with the ChangeTags::updateTags function.
 

Detailed Description

Stable to implement.

Definition at line 12 of file ChangeTagsAfterUpdateTagsHook.php.

Member Function Documentation

◆ onChangeTagsAfterUpdateTags()

MediaWiki\ChangeTags\Hook\ChangeTagsAfterUpdateTagsHook::onChangeTagsAfterUpdateTags (   $addedTags,
  $removedTags,
  $prevTags,
  $rc_id,
  $rev_id,
  $log_id,
  $params,
  $rc,
  $user 
)

This hook is called after tags have been updated with the ChangeTags::updateTags function.

Since
1.35
Parameters
string[]$addedTagsTags effectively added in the update
string[]$removedTagsTags effectively removed in the update
string[]$prevTagsTags that were present prior to the update
int$rc_idRecentchanges table id
int$rev_idRevision table id
int$log_idLogging table id
string | null$paramsTag params
RecentChange | null$rcRecentChange being tagged when the tagging accompanies the action, or null
User | null$userUser who performed the tagging when the tagging is subsequent to the action, or null
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: