GlobalWatchlistEntryEdits(info)

GlobalWatchlistEntryEdits

Constructor

new GlobalWatchlistEntryEdits(info) #

Represents one or more edits being shown together

Parameters:

Name Type Description
info Object

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

Source:

Extends

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:

editCount #

Properties:

Name Type Description
editCount number

The number of edits this entry represents

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:

fromRev #

Properties:

Name Type Description
fromRev number

The revision before this entry's edit(s), to use for the diff link

Source:

newPage #

Properties:

Name Type Description
newPage boolean

If this entry's edit(s) represent the creation of a new page, which means no diff link should be shown

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:

toRev #

Properties:

Name Type Description
toRev number

The revision after this entry's edit(s), to use for the diff link

Source:

userDisplay #

Properties:

Name Type Description
userDisplay string

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

Inherited From:
Source: