Interface: ApiWatchEntry
Defined in: core/watch.ts:13
One watched/unwatched page.
Properties
errors?
optionalerrors?: (ApiMessage|ApiError|ApiSpecMessage)[]
Defined in: core/watch.ts:45
In-band messages when the watch/unwatch operation failed (pageset mode; the
legacy title mode dies with a top-level error instead). Heterogeneous:
messages raised by the operation itself follow the request's errorformat
(ApiSpecMessage under bc, ApiMessage under a modern one),
while a watchlist-label failure carries the legacy { code, info } shape
under bc, and an ApiMessage under a modern one.
expiry?
optionalexpiry?:string
Defined in: core/watch.ts:35
Expiry applied to the watch (the expiry parameter echoed back). Watch
direction only.
labels?
optionallabels?:ApiWatchlistLabel[]
Defined in: core/watch.ts:56
Watchlist labels just saved for this page, echoed back when the request
passed labels and $wgEnableWatchlistLabels is on.
Since
MediaWiki 1.46
ns
ns:
number
Defined in: core/watch.ts:18
Namespace index.
title
title:
string
Defined in: core/watch.ts:15
Page title.
unwatched?
optionalunwatched?:boolean
Defined in: core/watch.ts:24
The page was removed from the watchlist. A real boolean.
warnings?
optionalwarnings?:ApiMessage[] |ApiSpecMessage[]
Defined in: core/watch.ts:48
In-band warnings for a failed operation (present when non-empty), shaped per the request's errorformat.
watchable?
optionalwatchable?:0
Defined in: core/watch.ts:29
The page is not watchable — always 0; watched/unwatched are absent.
watched?
optionalwatched?:boolean
Defined in: core/watch.ts:21
The page was added to the watchlist. A real boolean.