MediaWiki REL1_31
WatchedItemQueryServiceExtension.php
Go to the documentation of this file.
1<?php
2
5
17
34 public function modifyWatchedItemsWithRCInfoQuery( User $user, array $options, IDatabase $db,
35 array &$tables, array &$fields, array &$conds, array &$dbOptions, array &$joinConds
36 );
37
53 public function modifyWatchedItemsWithRCInfo( User $user, array $options, IDatabase $db,
54 array &$items, $res, &$startFrom
55 );
56
57}
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:53
Result wrapper for grabbing data queried from an IDatabase object.
$res
Definition database.txt:21
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist & $tables
Definition hooks.txt:1015
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & $options
Definition hooks.txt:2001
modifyWatchedItemsWithRCInfo(User $user, array $options, IDatabase $db, array &$items, $res, &$startFrom)
Modify the results from WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() before they're...
modifyWatchedItemsWithRCInfoQuery(User $user, array $options, IDatabase $db, array &$tables, array &$fields, array &$conds, array &$dbOptions, array &$joinConds)
Modify the WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() query before it's made.
Basic database interface for live and lazy-loaded relation database handles.
Definition IDatabase.php:38