Manual:Hooks/ArticleEditUpdatesDeleteFromRecentchanges
![]() | This feature was removed from MediaWiki core in version 1.36.0 (after being deprecated in 1.35.0). Please see RecentChange_save for an alternative way to use this feature. |
ArticleEditUpdatesDeleteFromRecentchanges | |
---|---|
Available from version 1.6.0 Removed in version 1.36.0 (Gerrit change 522381)Category:Removed hooks#ArticleEditUpdatesDeleteFromRecentchanges Occurs before saving to the database. | |
Define function: | public static function onArticleEditUpdatesDeleteFromRecentchanges( Wikipage &$wikiPage ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"ArticleEditUpdatesDeleteFromRecentchanges": "MediaWiki\\Extension\\MyExtension\\Hooks::onArticleEditUpdatesDeleteFromRecentchanges"
}
}
|
Called from: | File(s): Storage/DerivedPageDataUpdater.phpCategory:MediaWiki hooks included in DerivedPageDataUpdater.php#ArticleEditUpdatesDeleteFromRecentchanges |
Interface: | ArticleEditUpdatesDeleteFromRecentchangesHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:ArticleEditUpdatesDeleteFromRecentchanges extensions.
If returning false, old entries are not deleted from the recent changes list.
Details
&$wikiPage
: the WikiPage object being updated or deleted
See also
Category:Recent changes
Category:Hooks added in MediaWiki 1.6.0
Category:Hooks deprecated in MediaWiki 1.35.0
Category:Hooks removed in MediaWiki 1.36.0
Category:MediaWiki deprecated or obsolete features
Category:MediaWiki hooks
Category:MediaWiki hooks included in DerivedPageDataUpdater.php
Category:Recent changes
Category:Removed hooks