Manual:Hooks/ArticleEditUpdateNewTalk

From MediaWiki.org
Jump to: navigation, search
ArticleEditUpdateNewTalk
Available from version 1.5.7 (r13012)
Allows an extension to prevent the database/memcached update storing the fact that a user has a new new message on their talk page

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

Attach hook:
$wgHooks['ArticleEditUpdateNewTalk'][] = 'MyExtensionHooks::onArticleEditUpdateNewTalk';
Called from: File(s):WikiPage.php

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


Details[edit | edit source]

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

See also[edit | edit source]