Open main menu

Extension:Comments/Hooks/Comment::isSpam

Comment::isSpam
Available from versionĀ ???

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

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

DetailsEdit

  • &$text
  • &$retVal