Extension:Comments/Hooks/Comments::isSpam

Comments::isSpam
Available from versionĀ ???

Define function:
public static function onComments_isSpam( &$text, &$retVal ) { ... }
Attach hook:
$wgHooks['Comments::isSpam'][] = 'MyExtensionHooks::onComments_isSpam';
Called from:File(s): Comments / CommentFunctions.php
Function(s): isSpam

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:Comments::isSpam extensions.

DetailsEdit

  • &$text
  • &$retVal