Manual:Hooks/ArticleEditUpdatesDeleteFromRecentchanges
From MediaWiki.org
| ArticleEditUpdatesDeleteFromRecentchanges | |
|---|---|
| Available from version 1.6.0 Occurs before saving to the database. |
|
*Define function: |
function fnMyHook( &$article ) { ... }
|
*Attach hook: |
$wgHooks['ArticleEditUpdatesDeleteFromRecentchanges'][] = 'fnMyHook'; |
| Called from: | Article.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:ArticleEditUpdatesDeleteFromRecentchanges extensions.
[edit] Details
- $article: the article (object) being updated or deleted
[edit] Notes
If returning false old entries are not deleted from the recent changes list.