26 lines
729 B
PHP
26 lines
729 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Storage\Hook;
|
|
|
|
use WikiPage;
|
|
|
|
/**
|
|
* This is a hook handler interface, see docs/Hooks.md.
|
|
* Use the hook name "ArticleEditUpdatesDeleteFromRecentchanges" to register handlers implementing this interface.
|
|
*
|
|
* @deprecated since 1.35 Use RecentChange_save or similar instead
|
|
* @ingroup Hooks
|
|
*/
|
|
interface ArticleEditUpdatesDeleteFromRecentchangesHook {
|
|
/**
|
|
* This hook is called before deleting old entries from
|
|
* recentchanges table.
|
|
*
|
|
* @since 1.35
|
|
*
|
|
* @param WikiPage $wikiPage WikiPage being modified
|
|
* @return bool|void True or no return value to continue, or false
|
|
* to not delete old entries
|
|
*/
|
|
public function onArticleEditUpdatesDeleteFromRecentchanges( $wikiPage );
|
|
}
|