MediaWiki  master
MediaWiki\Storage\Hook\ArticleEditUpdatesHook Interface Reference
Inheritance diagram for MediaWiki\Storage\Hook\ArticleEditUpdatesHook:

Public Member Functions

 onArticleEditUpdates ( $wikiPage, $editInfo, $changed)
 This hook is called when edit updates (mainly link tracking) are made when an article has been changed. More...
 

Detailed Description

Deprecated:
since 1.35 Use RevisionDataUpdates instead

Definition at line 12 of file ArticleEditUpdatesHook.php.

Member Function Documentation

◆ onArticleEditUpdates()

MediaWiki\Storage\Hook\ArticleEditUpdatesHook::onArticleEditUpdates (   $wikiPage,
  $editInfo,
  $changed 
)

This hook is called when edit updates (mainly link tracking) are made when an article has been changed.

Since
1.35
Parameters
WikiPage$wikiPage
PreparedEdit$editInfoData holder that includes the parser output ($editInfo->output) for that page after the change
bool$changedWhether the page was changed
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: