Extension:AjaxComments/Hooks/AjaxCommentsChange

Hook name When is it called Parameters
AjaxCommentsChange Called in AjaxComments::add, AjaxComments::reply, and AjaxComments::delete. Called after inserting the comment or reply and before deletion.
  • $text (either 'add', 'reply', or 'delete')
  • $page (page id)
  • $id (user id)