MediaWiki REL1_35
MediaWiki\Api\Hook\ApiQueryWatchlistExtractOutputDataHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Api\Hook\ApiQueryWatchlistExtractOutputDataHook:

Public Member Functions

 onApiQueryWatchlistExtractOutputData ( $module, $watchedItem, $recentChangeInfo, &$vals)
 Use this hook to extract row data for ApiQueryWatchlist.
 

Detailed Description

Stable to implement.

Definition at line 12 of file ApiQueryWatchlistExtractOutputDataHook.php.

Member Function Documentation

◆ onApiQueryWatchlistExtractOutputData()

MediaWiki\Api\Hook\ApiQueryWatchlistExtractOutputDataHook::onApiQueryWatchlistExtractOutputData (   $module,
  $watchedItem,
  $recentChangeInfo,
$vals 
)

Use this hook to extract row data for ApiQueryWatchlist.

Since
1.35
Parameters
ApiQueryWatchlist$module
WatchedItem$watchedItem
array$recentChangeInfoArray of recent change info data
array&$valsAssociative array of data to be output for the row
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\Api\ApiHookRunner.


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