Manual:Hooks/ArticleEditUpdateNewTalk

From MediaWiki.org
Jump to: navigation, search
ArticleEditUpdateNewTalk
Available from version 1.5.7 (r13012)
Allows an extension to prevent user notification when a new message is added to their talk page

Define function:
public static function onArticleEditUpdateNewTalk( $article ) { ... }

Attach hook:
$wgHooks['ArticleEditUpdateNewTalk'][] = 'MyExtensionHooks::onArticleEditUpdateNewTalk';
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.

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox