abstractGlobalWatchlistEntryBase(info)

GlobalWatchlistEntryBase

Constructor

new GlobalWatchlistEntryBase(info)abstract #

Represents a base entry of any type that is shown

Parameters:

Name Type Description
info Object

Should have all of the properties that are documented below

Source:

Properties

commentDisplay #

Properties:

Name Type Description
commentDisplay string | boolean

Either false or a raw HTML string for the parsed comment that should be shown

Source:

entryType #

Properties:

Name Type Description
entryType string

Either 'edit' or 'log'

Source:

expiry #

Properties:

Name Type Description
expiry string | boolean

Either false or a string explaining when the watchlist entry expires

Source:

flags #

Properties:

Name Type Description
flags string | boolean

Either false or a string of flags to show

Source:

ns #

Properties:

Name Type Description
ns number

Namespace for this entry, can be used by GlobalWatchlistWikibaseHandler to decide if a label should be added.

Source:

tagsDisplay #

Properties:

Name Type Description
tagsDisplay string | boolean

Either false or a raw HTML string for the parsed tags information that should be shown

Source:

timestamp #

Properties:

Name Type Description
timestamp string | boolean

Either false or a string to display

Source:

timestampTitle #

Properties:

Name Type Description
timestampTitle string | null

Either null for single changes, or a string to display as a tooltip for grouped edits

Source:

title #

Properties:

Name Type Description
title string

Title of the entry

Source:

titleMsg #

Properties:

Name Type Description
titleMsg string

Display text for the title of this entry, might be changed by GlobalWatchlistWikibaseHandler

Source:

userDisplay #

Properties:

Name Type Description
userDisplay string

Raw HTML to show for the user(s) that made this entry

Source: