Interface: ApiWatchlistEntry
Defined in: core/query/watchlist.ts:19
One watchlist entry. wlprop controls which fields appear.
Extends
Properties
actionhidden?
optionalactionhidden?:true
Defined in: core/query/watchlist.ts:121
The log action is hidden (log-deleted). wlprop=ids|title|loginfo (only for type=log); a Flag.
anon?
optionalanon?:boolean
Defined in: core/query/watchlist.ts:76
Made by an anonymous editor. wlprop=user|userid; a real boolean.
autopatrolled?
optionalautopatrolled?:boolean
Defined in: core/query/watchlist.ts:112
Auto-patrolled flag. wlprop=patrol; a real boolean.
bot?
optionalbot?:boolean
Defined in: core/query/watchlist.ts:79
Made by a bot. wlprop=flags; a real boolean.
comment?
optionalcomment?:string
Defined in: core/query/watchlist.ts:100
Raw summary. wlprop=comment.
commenthidden?
optionalcommenthidden?:true
Defined in: core/query/watchlist.ts:127
The edit summary is hidden (revision-deleted). wlprop=comment|parsedcomment; a Flag.
Overrides
expiry?
optionalexpiry?:string|false
Defined in: core/query/watchlist.ts:118
Upcoming protection expiry, or false when none. wlprop=expiry.
labels?
optionallabels?:ApiWatchlistLabel[]
Defined in: core/query/watchlist.ts:135
Watchlist labels attached to the page. wlprop=labels; requires
$wgEnableWatchlistLabels, and [] when there are none.
Since
MediaWiki 1.46
logaction?
optionallogaction?:string
Defined in: core/query/watchlist.ts:45
Log action. wlprop=loginfo (only for type=log).
logdisplay?
optionallogdisplay?:string
Defined in: core/query/watchlist.ts:57
Localized log action text, e.g. changed protection settings.
wlprop=loginfo (only for type=log).
logid?
optionallogid?:number
Defined in: core/query/watchlist.ts:39
Log id. wlprop=loginfo (only for type=log).
logparams?
optionallogparams?:ApiLogEventParams
Defined in: core/query/watchlist.ts:51
Structured log details — see ApiLogEventParams. wlprop=loginfo
(only for type=log).
logtype?
optionallogtype?:string
Defined in: core/query/watchlist.ts:42
Log type. wlprop=loginfo (only for type=log).
minor?
optionalminor?:boolean
Defined in: core/query/watchlist.ts:85
Was a minor edit. wlprop=flags; a real boolean.
new?
optionalnew?:boolean
Defined in: core/query/watchlist.ts:82
Created a new page. wlprop=flags; a real boolean.
newlen?
optionalnewlen?:number
Defined in: core/query/watchlist.ts:91
New revision size in bytes. wlprop=sizes.
notificationtimestamp?
optionalnotificationtimestamp?:string
Defined in: core/query/watchlist.ts:97
When the user last saw the page; "" when never. wlprop=notificationtimestamp.
ns?
optionalns?:number
Defined in: core/query/watchlist.ts:24
Namespace index.
old_revid?
optionalold_revid?:number
Defined in: core/query/watchlist.ts:36
Previous revision id. wlprop=ids.
oldlen?
optionaloldlen?:number
Defined in: core/query/watchlist.ts:88
Old revision size in bytes. wlprop=sizes.
pageid?
optionalpageid?:number
Defined in: core/query/watchlist.ts:30
Page id. wlprop=ids.
parsedcomment?
optionalparsedcomment?:string
Defined in: core/query/watchlist.ts:103
HTML-rendered summary. wlprop=parsedcomment.
patrolled?
optionalpatrolled?:boolean
Defined in: core/query/watchlist.ts:106
Whether the change is patrolled. wlprop=patrol; a real boolean.
revid?
optionalrevid?:number
Defined in: core/query/watchlist.ts:33
Revision id. wlprop=ids.
suppressed?
optionalsuppressed?:true
Defined in: core/query/shared.ts:34
Oversight/suppression applies to the entry (set together with the
*hidden flags). A Flag.
Inherited from
tags?
optionaltags?:string[]
Defined in: core/query/watchlist.ts:115
Change tags. wlprop=tags.
temp?
optionaltemp?:boolean
Defined in: core/query/watchlist.ts:73
Made by a temporary account. wlprop=user; a real boolean.
Since
MediaWiki 1.42
timestamp?
optionaltimestamp?:string
Defined in: core/query/watchlist.ts:94
Change timestamp. wlprop=timestamp.
title?
optionaltitle?:string
Defined in: core/query/watchlist.ts:27
Page title.
type?
optionaltype?:RecentChangeType
Defined in: core/query/watchlist.ts:21
Change type.
unpatrolled?
optionalunpatrolled?:boolean
Defined in: core/query/watchlist.ts:109
Unpatrolled flag. wlprop=patrol; a real boolean.
user?
optionaluser?:string|number
Defined in: core/query/watchlist.ts:63
Actor user name or IP. wlprop=user; under wlprop=userid only, the
actor's user id (number) for backwards compatibility.
userhidden?
optionaluserhidden?:true
Defined in: core/query/watchlist.ts:124
The author is hidden. wlprop=user|userid; a Flag.
Overrides
userid?
optionaluserid?:number
Defined in: core/query/watchlist.ts:66
Actor user id. wlprop=userid.