Extension:Comments/Hooks/Comments::isSpam

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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