|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
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 ChangeTagsStore->updateTags function. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ChangeTagsAfterUpdateTags" to register handlers implementing this interface.
Definition at line 15 of file ChangeTagsAfterUpdateTagsHook.php.
| 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 ChangeTagsStore->updateTags function.
| string[] | $addedTags | Tags effectively added in the update |
| string[] | $removedTags | Tags effectively removed in the update |
| string[] | $prevTags | Tags that were present prior to the update |
| int | $rc_id | Recentchanges table id |
| int | $rev_id | Revision table id |
| int | $log_id | Logging table id |
| string | null | $params | Tag params |
| RecentChange | null | $rc | RecentChange being tagged when the tagging accompanies the action, or null |
| User | null | $user | User who performed the tagging when the tagging is subsequent to the action, or null |
Implemented in MediaWiki\HookContainer\HookRunner.