Extension:Comments/Hooks/Comments::isSpam

From Linux Web Expert

Revision as of 18:37, 19 March 2020 by imported>Shirayuki (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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