GlobalWatchlistEntryLog

GlobalWatchlistEntryLog

Extends

Constructor

new GlobalWatchlistEntryLog(info) #

Represents a single log entry

Parameters:

Name Type Description
info Object

Should have all of the properties that are documented below, plus all those needed by GlobalWatchlistEntryBase

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

Inherited from:
Source:

entryType #

Properties:

Name Type Description
entryType string

Either 'edit' or 'log'

Inherited from:
Source:

expiry #

Properties:

Name Type Description
expiry string | boolean

Either false or a string explaining when the watchlist entry expires

Inherited from:
Source:

flags #

Properties:

Name Type Description
flags string | boolean

Either false or a string of flags to show

Inherited from:
Source:

logaction #

Properties:

Name Type Description
logaction string

The "action" for this log entry, used together with logtype below

Source:

logid #

Properties:

Name Type Description
logid number

The log id for this entry

Source:

logtype #

Properties:

Name Type Description
logtype string

The "type" for this log entry, used together with logaction above

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.

Inherited from:
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

Inherited from:
Source:

timestamp #

Properties:

Name Type Description
timestamp string | boolean

Either false or a string to display

Inherited from:
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

Inherited from:
Source:

title #

Properties:

Name Type Description
title string

Title of the entry

Inherited from:
Source:

titleMsg #

Properties:

Name Type Description
titleMsg string

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

Inherited from:
Source:

userDisplay #

Properties:

Name Type Description
userDisplay string

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

Inherited from:
Source: