Go to the source code of this file.
|
| MediaWiki\Api::getExpiryFromParams (array $params) |
| Get formatted expiry from the given parameters, or null if no expiry was provided.
|
|
| MediaWiki\Api::getWatchlistExpiry (WatchedItemStoreInterface $store, PageIdentity $page, UserIdentity $user) |
| Get existing expiry from the database.
|
|
| MediaWiki\Api::getWatchlistParams (array $watchOptions=[]) |
| Get additional allow params specific to watchlisting.
|
|
| MediaWiki\Api::getWatchlistValue (string $watchlist, PageIdentity $page, User $user, ?string $userOption=null) |
| Return true if we're to watch the page, false if not.
|
|
| MediaWiki\Api::setWatch (string $watch, PageIdentity $page, User $user, ?string $userOption=null, ?string $expiry=null) |
| Set a watch (or unwatch) based the based on a watchlist parameter.
|
|