Manual:WatchedItemStore.php

is the MediaWiki class that handles database interactions for Watchlist related functions. Watchlist code in other parts of the core act as a wrapper for functions in this class.

Member functions
Note: This list only covers the major functions. For a more complete list, refer to this auto-generated documentation page.
 * : Count the number of individual items that are watched by the user. Counts subject and talk page separately.
 * : Count number of watchers for a given page.
 * : Count number of watchers for a given array of pages. Returns an array with watchers for each page.
 * : Number of watchers who have visited a recent edit of a page.
 * : Number of watchers of each page (from a given set of pages) who have visited recent edits to that page.
 * : Retrieve the notification timestamp for an entry on the watchlist for a given user and page.
 * : Retrieve the notification timestamps for an array of given entries.
 * : Get a WatchedItem object for given user and LinkTarget object.
 * : Get all WatchedItems for a given user.
 * : Check if a page is watched. Separate for subject and talk pages.
 * : Loads a WatchedItem from DB with given user and LinkTarget values.
 * : Remove page from watchlist, given a user and LinkTarget.
 * : Reset notification timestamp for given user and page.
 * : Set a notification timestamp for given user and page.
 * : Update notification timestamp for given LinkTarget object. Accepts the editor user object to not update timestamp for them.