MediaWiki master
MediaWiki\Api\Hook\ApiQueryWatchlistExtractOutputDataHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\Api\ApiHookRunner.

Public Member Functions

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

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ApiQueryWatchlistExtractOutputData" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 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: