MediaWiki
master
WatchedItemQueryServiceExtension.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Watchlist
;
4
5
use
MediaWiki\User\UserIdentity
;
6
use
Wikimedia\Rdbms\IReadableDatabase
;
7
use
Wikimedia\Rdbms\IResultWrapper
;
8
19
interface
WatchedItemQueryServiceExtension
{
20
37
public
function
modifyWatchedItemsWithRCInfoQuery
(
UserIdentity
$user, array $options,
38
IReadableDatabase
$db, array &$tables, array &$fields, array &$conds, array &$dbOptions,
39
array &$joinConds
40
);
41
57
public
function
modifyWatchedItemsWithRCInfo
(
UserIdentity
$user, array $options,
IReadableDatabase
$db,
58
array &$items, $res, &$startFrom
59
);
60
61
}
63
class_alias( WatchedItemQueryServiceExtension::class,
'WatchedItemQueryServiceExtension'
);
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Watchlist\WatchedItemQueryServiceExtension
Definition
WatchedItemQueryServiceExtension.php:19
MediaWiki\Watchlist\WatchedItemQueryServiceExtension\modifyWatchedItemsWithRCInfoQuery
modifyWatchedItemsWithRCInfoQuery(UserIdentity $user, array $options, IReadableDatabase $db, array &$tables, array &$fields, array &$conds, array &$dbOptions, array &$joinConds)
Modify the WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() query before it's made.
MediaWiki\Watchlist\WatchedItemQueryServiceExtension\modifyWatchedItemsWithRCInfo
modifyWatchedItemsWithRCInfo(UserIdentity $user, array $options, IReadableDatabase $db, array &$items, $res, &$startFrom)
Modify the results from WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo() before they're...
Wikimedia\Rdbms\IReadableDatabase
A database connection without write operations.
Definition
IReadableDatabase.php:37
Wikimedia\Rdbms\IResultWrapper
Result wrapper for grabbing data queried from an IDatabase object.
Definition
IResultWrapper.php:26
MediaWiki\Watchlist
Definition
ActivityUpdateJob.php:21
includes
watchlist
WatchedItemQueryServiceExtension.php
Generated on Sun Nov 3 2024 13:26:44 for MediaWiki by
1.10.0