$cache | WatchedItemStore | private |
$cacheIndex | WatchedItemStore | private |
$deferredUpdatesAddCallableUpdateCallback | WatchedItemStore | private |
$expiryEnabled | WatchedItemStore | private |
$hookRunner | WatchedItemStore | private |
$latestUpdateCache | WatchedItemStore | private |
$lbFactory | WatchedItemStore | private |
$linkBatchFactory | WatchedItemStore | private |
$loadBalancer | WatchedItemStore | private |
$maxExpiryDuration | WatchedItemStore | private |
$nsInfo | WatchedItemStore | private |
$queueGroup | WatchedItemStore | private |
$readOnlyMode | WatchedItemStore | private |
$revisionLookup | WatchedItemStore | private |
$stash | WatchedItemStore | private |
$stats | WatchedItemStore | private |
$titleFactory | WatchedItemStore | private |
$updateRowsPerQuery | WatchedItemStore | private |
$userFactory | WatchedItemStore | private |
$watchlistPurgeRate | WatchedItemStore | private |
__construct(ServiceOptions $options, ILBFactory $lbFactory, JobQueueGroup $queueGroup, BagOStuff $stash, HashBagOStuff $cache, ReadOnlyMode $readOnlyMode, NamespaceInfo $nsInfo, RevisionLookup $revisionLookup, HookContainer $hookContainer, LinkBatchFactory $linkBatchFactory, UserFactory $userFactory, TitleFactory $titleFactory) | WatchedItemStore | |
addWatch(UserIdentity $user, $target, ?string $expiry=null) | WatchedItemStore | |
addWatchBatchForUser(UserIdentity $user, array $targets, ?string $expiry=null) | WatchedItemStore | |
cache(WatchedItem $item) | WatchedItemStore | private |
clearUserWatchedItems(UserIdentity $user) | WatchedItemStore | |
clearUserWatchedItemsUsingJobQueue(UserIdentity $user) | WatchedItemStore | |
CONSTRUCTOR_OPTIONS | WatchedItemStore | |
countExpired() | WatchedItemStore | |
countUnreadNotifications(UserIdentity $user, $unreadLimit=null) | WatchedItemStore | |
countVisitingWatchers( $target, $threshold) | WatchedItemStore | |
countVisitingWatchersMultiple(array $targetsWithVisitThresholds, $minimumWatchers=null) | WatchedItemStore | |
countWatchedItems(UserIdentity $user) | WatchedItemStore | |
countWatchers( $target) | WatchedItemStore | |
countWatchersMultiple(array $targets, array $options=[]) | WatchedItemStore | |
duplicateAllAssociatedEntries( $oldTarget, $newTarget) | WatchedItemStore | |
duplicateEntry( $oldTarget, $newTarget) | WatchedItemStore | |
fetchWatchedItems(IDatabase $db, UserIdentity $user, array $vars, array $options=[], $target=null) | WatchedItemStore | private |
fetchWatchedItemsForPage(IDatabase $dbw, $target) | WatchedItemStore | private |
getCached(UserIdentity $user, $target) | WatchedItemStore | private |
getCacheKey(UserIdentity $user, $target) | WatchedItemStore | private |
getConnectionRef( $dbIndex) | WatchedItemStore | private |
getLatestNotificationTimestamp( $timestamp, UserIdentity $user, $target) | WatchedItemStore | |
getMaxId() | WatchedItemStore | |
getNotificationTimestamp(UserIdentity $user, $title, $item, $force, $oldid) | WatchedItemStore | private |
getNotificationTimestampsBatch(UserIdentity $user, array $targets) | WatchedItemStore | |
getPageSeenKey( $target) | WatchedItemStore | private |
getPageSeenTimestamps(UserIdentity $user) | WatchedItemStore | private |
getPageSeenTimestampsKey(UserIdentity $user) | WatchedItemStore | private |
getTitleDbKeysGroupedByNamespace(array $titles) | WatchedItemStore | private |
getVisitingWatchersCondition(IDatabase $db, array $targetsWithVisitThresholds) | WatchedItemStore | private |
getWatchedItem(UserIdentity $user, $target) | WatchedItemStore | |
getWatchedItemFromRow(UserIdentity $user, $target, stdClass $row) | WatchedItemStore | private |
getWatchedItemsForUser(UserIdentity $user, array $options=[]) | WatchedItemStore | |
isTempWatched(UserIdentity $user, $target) | WatchedItemStore | |
isWatched(UserIdentity $user, $target) | WatchedItemStore | |
loadWatchedItem(UserIdentity $user, $target) | WatchedItemStore | |
loadWatchedItemsBatch(UserIdentity $user, array $targets) | WatchedItemStore | |
maybeEnqueueWatchlistExpiryJob() | WatchedItemStore | |
modifyForExpiry(array &$tables, array &$conds, array &$joinConds, IDatabase $db) | WatchedItemStore | private |
mustClearWatchedItemsUsingJobQueue(UserIdentity $user) | WatchedItemStore | |
overrideDeferredUpdatesAddCallableUpdateCallback(callable $callback) | WatchedItemStore | |
removeExpired(int $limit, bool $deleteOrphans=false) | WatchedItemStore | |
removeWatch(UserIdentity $user, $target) | WatchedItemStore | |
removeWatchBatchForUser(UserIdentity $user, array $titles) | WatchedItemStore | |
resetAllNotificationTimestampsForUser(UserIdentity $user, $timestamp=null) | WatchedItemStore | |
resetNotificationTimestamp(UserIdentity $user, $title, $force='', $oldid=0) | WatchedItemStore | |
setNotificationTimestampsForUser(UserIdentity $user, $timestamp, array $targets=[]) | WatchedItemStore | |
setStatsdDataFactory(StatsdDataFactoryInterface $stats) | WatchedItemStore | |
SORT_ASC | WatchedItemStoreInterface | |
SORT_DESC | WatchedItemStoreInterface | |
uncache(UserIdentity $user, $target) | WatchedItemStore | private |
uncacheAllItemsForUser(UserIdentity $user) | WatchedItemStore | private |
uncacheLinkTarget( $target) | WatchedItemStore | private |
uncacheTitlesForUser(UserIdentity $user, array $titles) | WatchedItemStore | private |
uncacheUser(UserIdentity $user) | WatchedItemStore | private |
updateExpiries(IDatabase $dbw, string $expiry, string $cond) | WatchedItemStore | private |
updateExpiriesAfterMove(IDatabase $dbw, array $expiries, int $namespace, string $dbKey) | WatchedItemStore | private |
updateNotificationTimestamp(UserIdentity $editor, $target, $timestamp) | WatchedItemStore | |
updateOrDeleteExpiries(IDatabase $dbw, int $userId, array $rows, ?string $expiry=null) | WatchedItemStore | private |