Manual:Hooks/ArticleEditUpdateNewTalk

From MediaWiki.org

Jump to: navigation, search
ArticleEditUpdateNewTalk
Available from version 1.5.7
Allows an extension to prevent user notification when a new message is added to their talk page

*Define function:
function fnMyHook( $article ) { ... }

*Attach hook:
$wgHooks['ArticleEditUpdateNewTalk'][] = 'fnMyHook';
Called from: Article.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:ArticleEditUpdateNewTalk extensions.


[edit] Details

$article - The article object of the talk page being updated.