< Manual:Hooks 
 
      | ApiQueryWatchlistExtractOutputData | |
|---|---|
| Available from version 1.29.0 (Gerrit change 315521) extract row data for ApiQueryWatchlist | |
| Define function: | public static function onApiQueryWatchlistExtractOutputData( ApiQueryWatchlist $module, WatchedItem $watchedItem, array $recentChangesInfo, array &$vals ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"ApiQueryWatchlistExtractOutputData": "MyExtensionHooks::onApiQueryWatchlistExtractOutputData"
	}
}
 | 
| Called from: | File(s): api/ApiQueryWatchlist.php Function(s): extractOutputData | 
| Interface: | ApiQueryWatchlistExtractOutputDataHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:ApiQueryWatchlistExtractOutputData extensions.
Details
- $module: ApiQueryWatchlist instance
- $watchedItem: WatchedItem instance
- $recentChangeInfo: Array of recent change info data
- &$vals: Associative array of data to be output for the row
See also
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.