$cache | WatchedItemStore | private |
$cacheIndex | WatchedItemStore | private |
$deferredUpdatesAddCallableUpdateCallback | WatchedItemStore | private |
$expiryEnabled | WatchedItemStore | private |
$hookRunner | WatchedItemStore | private |
$latestUpdateCache | WatchedItemStore | private |
$lbFactory | 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 |
$updateRowsPerQuery | WatchedItemStore | private |
__construct(ServiceOptions $options, ILBFactory $lbFactory, JobQueueGroup $queueGroup, BagOStuff $stash, HashBagOStuff $cache, ReadOnlyMode $readOnlyMode, NamespaceInfo $nsInfo, RevisionLookup $revisionLookup, HookContainer $hookContainer) | WatchedItemStore | |
addWatch(UserIdentity $user, LinkTarget $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(LinkTarget $target, $threshold) | WatchedItemStore | |
countVisitingWatchersMultiple(array $targetsWithVisitThresholds, $minimumWatchers=null) | WatchedItemStore | |
countWatchedItems(UserIdentity $user) | WatchedItemStore | |
countWatchers(LinkTarget $target) | WatchedItemStore | |
countWatchersMultiple(array $targets, array $options=[]) | WatchedItemStore | |
duplicateAllAssociatedEntries(LinkTarget $oldTarget, LinkTarget $newTarget) | WatchedItemStore | |
duplicateEntry(LinkTarget $oldTarget, LinkTarget $newTarget) | WatchedItemStore | |
enqueueWatchlistExpiryJob(float $watchlistPurgeRate) | WatchedItemStore | |
fetchWatchedItems(IDatabase $db, UserIdentity $user, array $vars, array $options=[], ?LinkTarget $target=null) | WatchedItemStore | private |
fetchWatchedItemsForPage(IDatabase $dbw, LinkTarget $target) | WatchedItemStore | private |
getCached(UserIdentity $user, LinkTarget $target) | WatchedItemStore | private |
getCacheKey(UserIdentity $user, LinkTarget $target) | WatchedItemStore | private |
getConnectionRef( $dbIndex) | WatchedItemStore | private |
getLatestNotificationTimestamp( $timestamp, UserIdentity $user, LinkTarget $target) | WatchedItemStore | |
getMaxId() | WatchedItemStore | |
getNotificationTimestamp(UserIdentity $user, LinkTarget $title, $item, $force, $oldid) | WatchedItemStore | private |
getNotificationTimestampsBatch(UserIdentity $user, array $targets) | WatchedItemStore | |
getPageSeenKey(LinkTarget $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, LinkTarget $target) | WatchedItemStore | |
getWatchedItemFromRow(UserIdentity $user, LinkTarget $target, stdClass $row) | WatchedItemStore | private |
getWatchedItemsForUser(UserIdentity $user, array $options=[]) | WatchedItemStore | |
isTempWatched(UserIdentity $user, LinkTarget $target) | WatchedItemStore | |
isWatched(UserIdentity $user, LinkTarget $target) | WatchedItemStore | |
loadWatchedItem(UserIdentity $user, LinkTarget $target) | WatchedItemStore | |
mustClearWatchedItemsUsingJobQueue(UserIdentity $user) | WatchedItemStore | |
overrideDeferredUpdatesAddCallableUpdateCallback(callable $callback) | WatchedItemStore | |
removeExpired(int $limit, bool $deleteOrphans=false) | WatchedItemStore | |
removeWatch(UserIdentity $user, LinkTarget $target) | WatchedItemStore | |
removeWatchBatchForUser(UserIdentity $user, array $titles) | WatchedItemStore | |
resetAllNotificationTimestampsForUser(UserIdentity $user, $timestamp=null) | WatchedItemStore | |
resetNotificationTimestamp(UserIdentity $user, LinkTarget $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, LinkTarget $target) | WatchedItemStore | private |
uncacheAllItemsForUser(UserIdentity $user) | WatchedItemStore | private |
uncacheLinkTarget(LinkTarget $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, LinkTarget $target, $timestamp) | WatchedItemStore | |
updateOrDeleteExpiries(IDatabase $dbw, int $userId, array $rows, ?string $expiry=null) | WatchedItemStore | private |