wiki.techinc.nl/includes/Storage/Hook/ArticleEditUpdatesHook.php
apaskulin c44488f725 docs: Hook interface doc comment review
Edited doc comments for hook interfaces to improve
consistency and add type hints.

Bug: T246855
Change-Id: I38fa802463cd6f39bf5946dbbeb1b3ebaea604b2
2020-04-21 09:10:08 +10:00

26 lines
725 B
PHP

<?php
namespace MediaWiki\Storage\Hook;
use MediaWiki\Edit\PreparedEdit;
use WikiPage;
/**
* @deprecated since 1.35 Use RevisionDataUpdates instead
* @ingroup Hooks
*/
interface ArticleEditUpdatesHook {
/**
* This hook is called when edit updates (mainly link tracking) are made
* when an article has been changed.
*
* @since 1.35
*
* @param WikiPage $wikiPage
* @param PreparedEdit $editInfo Data holder that includes the parser output
* ($editInfo->output) for that page after the change
* @param bool $changed Whether the page was changed
* @return bool|void True or no return value to continue or false to abort
*/
public function onArticleEditUpdates( $wikiPage, $editInfo, $changed );
}