Merge "jquery.tablesorter: Silence an expected "sort-rowspan-error" warning"
[mediawiki.git] / includes / api / Hook / ApiQueryWatchlistPrepareWatchedItemQueryServiceOptionsHook.php
blob09746c4beaa596f44e8055f22c8207d6e49a85cb
1 <?php
3 namespace MediaWiki\Api\Hook;
5 use MediaWiki\Api\ApiQueryWatchlist;
7 /**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "ApiQueryWatchlistPrepareWatchedItemQueryServiceOptions"
10 * to register handlers implementing this interface.
12 * @stable to implement
13 * @ingroup Hooks
15 interface ApiQueryWatchlistPrepareWatchedItemQueryServiceOptionsHook {
16 /**
17 * Use this hook to populate the options to be passed from ApiQueryWatchlist
18 * to WatchedItemQueryService.
20 * @since 1.35
22 * @param ApiQueryWatchlist $module
23 * @param array $params Array of parameters, as would be returned by
24 * $module->extractRequestParams()
25 * @param array &$options Array of options for
26 * WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo()
27 * @return bool|void True or no return value to continue or false to abort
29 public function onApiQueryWatchlistPrepareWatchedItemQueryServiceOptions(
30 $module, $params, &$options