Jump to content

Extension:AjaxComments/Hooks/AjaxCommentsCheckTitle

From mediawiki.org
Hook name When is it called Parameters
AjaxCommentsCheckTitle Called when user rights are set. Allows for external conditions to manipulate if comments should be shown in the passed title.
  • $userpage (page title)
  • &$ret (boolean - whether comments should be shown in a given page, defaults to true)