Extension:Comments/Hooks/Comments::isSpam

From Linux Web Expert

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.

Details

  • &$text
  • &$retVal