MediaWiki master
MediaWiki\RecentChanges\ChangesList Class Reference

Base class for lists of recent changes shown on special pages. More...

Inherits MediaWiki\Context\ContextSource.

Inherited by MediaWiki\RecentChanges\EnhancedChangesList, and MediaWiki\RecentChanges\OldChangesList.

Collaboration diagram for MediaWiki\RecentChanges\ChangesList:

Public Member Functions

 __construct ( $context, array $filterGroups=[])
 
 beginRecentChangesList ()
 Returns text for the start of the tabular part of RC.
 
 endRecentChangesList ()
 Returns text for the end of RC.
 
 formatCharacterDifference (RecentChange $old, ?RecentChange $new=null)
 Format the character difference of one or several changes.
 
 getArticleLink (&$rc, $unpatrolled, $watched)
 Get the HTML link to the changed page, possibly with a prefix from hook handlers, and a suffix for temporarily watched items.
 
 getRollback (RecentChange $rc)
 
 getTags (RecentChange $rc, array &$classes)
 
 getTimestamp ( $rc)
 Get the timestamp from $rc formatted with current user's settings and a separator.
 
 getWatchlistExpiry (RecentChange $recentChange)
 Get HTML to display the clock icon for watched items that have a watchlist expiry time.
 
 initChangesListRows ( $rows)
 
 insertComment ( $rc)
 Insert a formatted comment.
 
 insertDateHeader (&$s, $rc_timestamp)
 
 insertDiffHist (&$s, &$rc, $unpatrolled=null)
 
 insertExtra (&$s, &$rc, &$classes)
 
 insertLog (&$s, $title, $logtype, $useParentheses=true)
 
 insertLogEntry ( $rc)
 Insert a formatted action.
 
 insertRollback (&$s, &$rc)
 Insert a rollback link.
 
 insertTags (&$s, &$rc, &$classes)
 
 insertTimestamp (&$s, $rc)
 Insert time timestamp string from $rc into $s.
 
 insertUserRelatedLinks (&$s, &$rc)
 Insert links to user page, user talk page and eventually a blocking link.
 
 isWatchlist ()
 
 recentChangesFlags ( $flags, $nothing="\u{00A0}")
 Returns the appropriate flags for new page, minor change and patrolling.
 
 recentChangesLine (&$rc, $watched=false, $linenumber=null)
 Format a line.
 
 setChangeLinePrefixer (callable $prefixer)
 Sets the callable that generates a change line prefix added to the beginning of each line.
 
 setWatchlistDivs ( $value=true)
 Sets the list to use a "<li class='watchlist-(namespace)-(page)'>" tag.
 
- Public Member Functions inherited from MediaWiki\Context\ContextSource
 canUseWikiPage ()
 Check whether a WikiPage object can be get with getWikiPage().
 
 exportSession ()
 Export the resolved user IP, HTTP headers, user ID, and session ID.
 
 getActionName ()
 Get the action name for the current web request.
 
 getAuthority ()
 
 getConfig ()
 
 getContext ()
 Get the base IContextSource object.
 
 getCsrfTokenSet ()
 Get a repository to obtain and match CSRF tokens.
 
 getLanguage ()
 
 getLanguageCode ()
 
 getOutput ()
 
 getRequest ()
 
 getSkin ()
 
 getTiming ()
 
 getTitle ()
 
 getUser ()
 
 getWikiPage ()
 Get the WikiPage object.
 
 msg ( $key,... $params)
 Get a Message object with context set Parameters are the same as wfMessage()
 
 setContext (IContextSource $context)
 

Static Public Member Functions

static flag ( $flag, ?IContextSource $context=null)
 Make an "<abbr>" element for a given change flag.
 
static isDeleted ( $rc, $field)
 Determine if said field of a revision is hidden.
 
static isUnpatrolled ( $rc, User $user)
 
static newFromContext (IContextSource $context, array $groups=[])
 Fetch an appropriate changes list class for the specified context Some users might want to use an enhanced list format, for instance.
 
static revDateLink (RevisionRecord $rev, Authority $performer, Language $lang, $title=null, $className='')
 Render the date and time of a revision in the current user language based on whether the user is able to view this information or not.
 
static showCharacterDifference ( $old, $new, ?IContextSource $context=null)
 Show formatted char difference.
 
static userCan ( $rc, $field, ?Authority $performer=null)
 Determine if the current user is allowed to view a particular field of this revision, if it's marked as deleted.
 

Public Attributes

const CSS_CLASS_PREFIX = 'mw-changeslist-'
 

Protected Member Functions

 getDataAttributes (RecentChange $rc)
 Get recommended data attributes for a change line.
 
 getHighlightsContainerDiv ()
 Get the container for highlights that are used in the new StructuredFilters system.
 
 getHTMLClasses ( $rc, $watched)
 Get an array of default HTML class attributes for the change.
 
 getHTMLClassesForFilters ( $rc)
 Get an array of CSS classes attributed to filters for this row.
 
 isCategorizationWithoutRevision ( $rcObj)
 Determines whether a revision is linked to this change; this may not be the case when the categorization wasn't done by an edit but a conditional parser function.
 
 maybeWatchedLink ( $link, $watched=false)
 
 numberofWatchingusers ( $count)
 Returns the string which indicates the number of watching users.
 
 showAsUnpatrolled (RecentChange $rc)
 

Protected Attributes

callable $changeLinePrefixer
 
RowCommentFormatter $commentFormatter
 
ChangesListFilterGroup[] $filterGroups
 
string[] $formattedComments
 Comments indexed by rc_id.
 
string $lastdate
 
LinkRenderer $linkRenderer
 
string[] $message
 
array $rc_cache
 
int $rcCacheIndex
 
bool $rclistOpen
 
int $rcMoveIndex
 
MapCacheLRU $tagsCache
 
MapCacheLRU $userLinkCache
 
UserLinkRenderer $userLinkRenderer
 
bool $watchlist = false
 
MapCacheLRU $watchMsgCache
 

Detailed Description

Base class for lists of recent changes shown on special pages.

This is used via ChangesListSpecialPage by recent changes (SpecialRecentChanges), related changes (SpecialRecentChangesLinked), and watchlist (SpecialWatchlist).

Definition at line 65 of file ChangesList.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\RecentChanges\ChangesList::__construct ( $context,
array $filterGroups = [] )
Parameters
IContextSource$context
ChangesListFilterGroup[]$filterGroupsArray of ChangesListFilterGroup objects (currently optional)

Reimplemented in MediaWiki\RecentChanges\EnhancedChangesList.

Definition at line 129 of file ChangesList.php.

References MediaWiki\RecentChanges\ChangesList\$filterGroups, MediaWiki\MediaWikiServices\getInstance(), and MediaWiki\Context\ContextSource\setContext().

Member Function Documentation

◆ beginRecentChangesList()

MediaWiki\RecentChanges\ChangesList::beginRecentChangesList ( )

Returns text for the start of the tabular part of RC.

Returns
string

Reimplemented in MediaWiki\RecentChanges\EnhancedChangesList.

Definition at line 369 of file ChangesList.php.

References MediaWiki\Context\ContextSource\getOutput().

◆ endRecentChangesList()

MediaWiki\RecentChanges\ChangesList::endRecentChangesList ( )

Returns text for the end of RC.

Returns
string

Reimplemented in MediaWiki\RecentChanges\EnhancedChangesList.

Definition at line 484 of file ChangesList.php.

◆ flag()

static MediaWiki\RecentChanges\ChangesList::flag ( $flag,
?IContextSource $context = null )
static

Make an "<abbr>" element for a given change flag.

The flag indicating a new page, minor edit, bot edit, or unpatrolled edit. In English it typically contains "N", "m", "b", or "!".

Styling for these flags is provided through mediawiki.interface.helpers.styles.

Parameters
string$flagOne key of $wgRecentChangesFlags
IContextSource | null$context
Returns
string HTML

Definition at line 335 of file ChangesList.php.

References MediaWiki\Html\element(), MediaWiki\MediaWikiServices\getInstance(), MediaWiki\MainConfigNames\RecentChangesFlags, MediaWiki\Context\ContextSource\setContext(), and wfMessage().

Referenced by MediaWiki\RecentChanges\ChangesList\recentChangesFlags().

◆ formatCharacterDifference()

MediaWiki\RecentChanges\ChangesList::formatCharacterDifference ( RecentChange $old,
?RecentChange $new = null )

Format the character difference of one or several changes.

Parameters
RecentChange$old
RecentChange | null$newLast change to use, if not provided, $old will be used
Returns
string HTML fragment

Definition at line 464 of file ChangesList.php.

References MediaWiki\Context\ContextSource\getContext(), and MediaWiki\RecentChanges\ChangesList\showCharacterDifference().

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\getLineData(), MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockGroup(), and MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine().

◆ getArticleLink()

MediaWiki\RecentChanges\ChangesList::getArticleLink ( & $rc,
$unpatrolled,
$watched )

Get the HTML link to the changed page, possibly with a prefix from hook handlers, and a suffix for temporarily watched items.

Parameters
RecentChange&$rc
bool$unpatrolled
bool$watched
Returns
string HTML
Since
1.26

Definition at line 629 of file ChangesList.php.

References MediaWiki\Context\ContextSource\getLanguage(), and MediaWiki\RecentChanges\ChangesList\getWatchlistExpiry().

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockGroup(), and MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine().

◆ getDataAttributes()

◆ getHighlightsContainerDiv()

MediaWiki\RecentChanges\ChangesList::getHighlightsContainerDiv ( )
protected

Get the container for highlights that are used in the new StructuredFilters system.

Returns
string HTML structure of the highlight container div

Definition at line 193 of file ChangesList.php.

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine(), and MediaWiki\RecentChanges\OldChangesList\recentChangesLine().

◆ getHTMLClasses()

MediaWiki\RecentChanges\ChangesList::getHTMLClasses ( $rc,
$watched )
protected

Get an array of default HTML class attributes for the change.

Parameters
RecentChange | RCCacheEntry$rc
string | bool$watchedOptionally timestamp for adding watched class
Returns
string[] List of CSS class names

Definition at line 272 of file ChangesList.php.

References MediaWiki\RecentChanges\ChangesList\getHTMLClassesForFilters().

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\getLineData(), MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine(), and MediaWiki\RecentChanges\OldChangesList\recentChangesLine().

◆ getHTMLClassesForFilters()

MediaWiki\RecentChanges\ChangesList::getHTMLClassesForFilters ( $rc)
protected

Get an array of CSS classes attributed to filters for this row.

Used for highlighting in the front-end.

Parameters
RecentChange$rc
Returns
string[] Array of CSS classes

Definition at line 303 of file ChangesList.php.

References MediaWiki\MediaWikiServices\getInstance().

Referenced by MediaWiki\RecentChanges\ChangesList\getHTMLClasses(), and MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockGroup().

◆ getRollback()

MediaWiki\RecentChanges\ChangesList::getRollback ( RecentChange $rc)
Parameters
RecentChange$rc
Returns
string
Since
1.26

Definition at line 967 of file ChangesList.php.

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\getLineData(), and MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine().

◆ getTags()

MediaWiki\RecentChanges\ChangesList::getTags ( RecentChange $rc,
array & $classes )

◆ getTimestamp()

MediaWiki\RecentChanges\ChangesList::getTimestamp ( $rc)

Get the timestamp from $rc formatted with current user's settings and a separator.

Parameters
RecentChange$rc
Deprecated
since 1.43; use revDateLink instead.
Returns
string HTML fragment

Definition at line 708 of file ChangesList.php.

References MediaWiki\Html\element().

◆ getWatchlistExpiry()

MediaWiki\RecentChanges\ChangesList::getWatchlistExpiry ( RecentChange $recentChange)

Get HTML to display the clock icon for watched items that have a watchlist expiry time.

Since
1.35
Parameters
RecentChange$recentChange
Returns
string The HTML to display an indication of the expiry time.

Definition at line 675 of file ChangesList.php.

Referenced by MediaWiki\RecentChanges\ChangesList\getArticleLink().

◆ initChangesListRows()

MediaWiki\RecentChanges\ChangesList::initChangesListRows ( $rows)
Parameters
IResultWrapper | stdClass[]$rows

Definition at line 386 of file ChangesList.php.

◆ insertComment()

MediaWiki\RecentChanges\ChangesList::insertComment ( $rc)

Insert a formatted comment.

Parameters
RecentChange$rc
Returns
string

Definition at line 815 of file ChangesList.php.

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\getLineData(), and MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine().

◆ insertDateHeader()

MediaWiki\RecentChanges\ChangesList::insertDateHeader ( & $s,
$rc_timestamp )

◆ insertDiffHist()

MediaWiki\RecentChanges\ChangesList::insertDiffHist ( & $s,
& $rc,
$unpatrolled = null )
Parameters
string&$sHTML to update
RecentChange&$rc
bool | null$unpatrolledUnused variable, since 1.27.

Definition at line 579 of file ChangesList.php.

References MediaWiki\Context\ContextSource\getAuthority(), RC_LOG, and RC_NEW.

◆ insertExtra()

MediaWiki\RecentChanges\ChangesList::insertExtra ( & $s,
& $rc,
& $classes )

Definition at line 1016 of file ChangesList.php.

◆ insertLog()

MediaWiki\RecentChanges\ChangesList::insertLog ( & $s,
$title,
$logtype,
$useParentheses = true )
Parameters
string&$sHTML to update
Title$title
string$logtype
bool$useParentheses(optional) Wrap log entry in parentheses where needed

Definition at line 559 of file ChangesList.php.

References MediaWiki\Context\ContextSource\getContext(), and MediaWiki\Context\ContextSource\msg().

◆ insertLogEntry()

MediaWiki\RecentChanges\ChangesList::insertLogEntry ( $rc)

Insert a formatted action.

Parameters
RecentChange$rc
Returns
string HTML

Definition at line 782 of file ChangesList.php.

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\getLineData(), and MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine().

◆ insertRollback()

MediaWiki\RecentChanges\ChangesList::insertRollback ( & $s,
& $rc )

Insert a rollback link.

Parameters
string&$s
RecentChange&$rc

Definition at line 913 of file ChangesList.php.

◆ insertTags()

MediaWiki\RecentChanges\ChangesList::insertTags ( & $s,
& $rc,
& $classes )
Parameters
string&$s
RecentChange&$rc
string[]&$classes

Definition at line 978 of file ChangesList.php.

◆ insertTimestamp()

MediaWiki\RecentChanges\ChangesList::insertTimestamp ( & $s,
$rc )

Insert time timestamp string from $rc into $s.

Parameters
string&$sHTML to update
RecentChange$rc

Definition at line 735 of file ChangesList.php.

References getTimestamp().

◆ insertUserRelatedLinks()

MediaWiki\RecentChanges\ChangesList::insertUserRelatedLinks ( & $s,
& $rc )

Insert links to user page, user talk page and eventually a blocking link.

Parameters
string&$sHTML to update
RecentChange&$rc

Definition at line 745 of file ChangesList.php.

◆ isCategorizationWithoutRevision()

MediaWiki\RecentChanges\ChangesList::isCategorizationWithoutRevision ( $rcObj)
protected

Determines whether a revision is linked to this change; this may not be the case when the categorization wasn't done by an edit but a conditional parser function.

Since
1.27
Parameters
RecentChange | RCCacheEntry$rcObj
Returns
bool

Definition at line 1058 of file ChangesList.php.

References RC_CATEGORIZE.

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\getLineData(), and MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine().

◆ isDeleted()

static MediaWiki\RecentChanges\ChangesList::isDeleted ( $rc,
$field )
static

Determine if said field of a revision is hidden.

Parameters
RCCacheEntry | RecentChange$rc
int$fieldOne of DELETED_* bitfield constants
Returns
bool

Definition at line 871 of file ChangesList.php.

Referenced by MediaWiki\RecentChanges\RCCacheEntryFactory\newFromRecentChange().

◆ isUnpatrolled()

static MediaWiki\RecentChanges\ChangesList::isUnpatrolled ( $rc,
User $user )
static
Parameters
stdClass | RecentChange$rcDatabase row from recentchanges or a RecentChange object
User$user
Returns
bool

Definition at line 1029 of file ChangesList.php.

References RC_NEW, MediaWiki\User\User\useFilePatrol(), MediaWiki\User\User\useNPPatrol(), and MediaWiki\User\User\useRCPatrol().

Referenced by MediaWiki\RecentChanges\RCCacheEntryFactory\newFromRecentChange().

◆ isWatchlist()

MediaWiki\RecentChanges\ChangesList::isWatchlist ( )
Returns
bool True when setWatchlistDivs has been called
Since
1.23

Definition at line 224 of file ChangesList.php.

References MediaWiki\RecentChanges\ChangesList\$watchlist.

◆ maybeWatchedLink()

MediaWiki\RecentChanges\ChangesList::maybeWatchedLink ( $link,
$watched = false )
protected
Parameters
string$link
bool$watched
Returns
string

Definition at line 899 of file ChangesList.php.

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockGroup().

◆ newFromContext()

static MediaWiki\RecentChanges\ChangesList::newFromContext ( IContextSource $context,
array $groups = [] )
static

Fetch an appropriate changes list class for the specified context Some users might want to use an enhanced list format, for instance.

Parameters
IContextSource$context
array$groupsArray of ChangesListFilterGroup objects (currently optional)
Returns
ChangesList

Definition at line 152 of file ChangesList.php.

References MediaWiki\User\Options\UserOptionsLookup\getBoolOption(), MediaWiki\MediaWikiServices\getInstance(), MediaWiki\Context\IContextSource\getRequest(), MediaWiki\Context\IContextSource\getSkin(), and MediaWiki\Context\IContextSource\getUser().

◆ numberofWatchingusers()

MediaWiki\RecentChanges\ChangesList::numberofWatchingusers ( $count)
protected

Returns the string which indicates the number of watching users.

Parameters
int$countNumber of user watching a page
Returns
string

Definition at line 846 of file ChangesList.php.

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockGroup(), and MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine().

◆ recentChangesFlags()

MediaWiki\RecentChanges\ChangesList::recentChangesFlags ( $flags,
$nothing = "\u{00A0}" )

Returns the appropriate flags for new page, minor change and patrolling.

Parameters
array$flagsAssociative array of 'flag' => Bool
string$nothingTo use for empty space
Returns
string

Definition at line 251 of file ChangesList.php.

References MediaWiki\RecentChanges\ChangesList\flag(), MediaWiki\Context\ContextSource\getConfig(), MediaWiki\Context\ContextSource\getContext(), and MediaWiki\MainConfigNames\RecentChangesFlags.

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\getLineData(), MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockGroup(), and MediaWiki\RecentChanges\EnhancedChangesList\recentChangesBlockLine().

◆ recentChangesLine()

MediaWiki\RecentChanges\ChangesList::recentChangesLine ( & $rc,
$watched = false,
$linenumber = null )

Format a line.

Since
1.27
Parameters
RecentChange&$rcPassed by reference
bool$watched(default false)
int | null$linenumber(default null)
Returns
string|bool

Reimplemented in MediaWiki\RecentChanges\EnhancedChangesList, and MediaWiki\RecentChanges\OldChangesList.

Definition at line 183 of file ChangesList.php.

◆ revDateLink()

static MediaWiki\RecentChanges\ChangesList::revDateLink ( RevisionRecord $rev,
Authority $performer,
Language $lang,
$title = null,
$className = '' )
static

Render the date and time of a revision in the current user language based on whether the user is able to view this information or not.

Parameters
RevisionRecord$rev
Authority$performer
Language$lang
Title | null$title(optional) where Title does not match the Title associated with the RevisionRecord
string$className(optional) to append to .mw-changelist-date element for access to the associated timestamp string.
Access: internal
For usage by Pager classes only (e.g. HistoryPager, NewPagesPager and ContribsPager).
Returns
string HTML

Definition at line 504 of file ChangesList.php.

References MediaWiki\Html\element(), MediaWiki\Language\Language\getDir(), MediaWiki\Revision\RevisionRecord\getId(), MediaWiki\MediaWikiServices\getInstance(), MediaWiki\Revision\RevisionRecord\getPageAsLinkTarget(), MediaWiki\Revision\RevisionRecord\getTimestamp(), MediaWiki\Permissions\Authority\getUser(), MediaWiki\Revision\RevisionRecord\isDeleted(), MediaWiki\Revision\RevisionRecord\userCan(), MediaWiki\Language\Language\userTime(), and MediaWiki\Language\Language\userTimeAndDate().

◆ setChangeLinePrefixer()

MediaWiki\RecentChanges\ChangesList::setChangeLinePrefixer ( callable $prefixer)

Sets the callable that generates a change line prefix added to the beginning of each line.

Parameters
callable$prefixerCallable to run that generates the change line prefix. Takes three parameters: a RecentChange object, a ChangesList object, and whether the current entry is a grouped entry.

Definition at line 1097 of file ChangesList.php.

◆ setWatchlistDivs()

MediaWiki\RecentChanges\ChangesList::setWatchlistDivs ( $value = true)

Sets the list to use a "<li class='watchlist-(namespace)-(page)'>" tag.

Parameters
bool$value

Definition at line 216 of file ChangesList.php.

◆ showAsUnpatrolled()

MediaWiki\RecentChanges\ChangesList::showAsUnpatrolled ( RecentChange $rc)
protected

Definition at line 1020 of file ChangesList.php.

◆ showCharacterDifference()

static MediaWiki\RecentChanges\ChangesList::showCharacterDifference ( $old,
$new,
?IContextSource $context = null )
static

Show formatted char difference.

Needs the css module 'mediawiki.special.changeslist' to style output

Parameters
int$oldNumber of bytes
int$newNumber of bytes
IContextSource | null$context
Returns
string

Definition at line 410 of file ChangesList.php.

References MediaWiki\Html\element(), MediaWiki\MainConfigNames\MiserMode, and MediaWiki\MainConfigNames\RCChangedSizeThreshold.

Referenced by MediaWiki\RecentChanges\ChangesList\formatCharacterDifference().

◆ userCan()

static MediaWiki\RecentChanges\ChangesList::userCan ( $rc,
$field,
?Authority $performer = null )
static

Determine if the current user is allowed to view a particular field of this revision, if it's marked as deleted.

Parameters
RCCacheEntry | RecentChange$rc
int$field
Authority | null$performerto check permissions against. If null, the global RequestContext's User is assumed instead.
Returns
bool

Definition at line 884 of file ChangesList.php.

References RC_LOG.

Referenced by MediaWiki\RecentChanges\EnhancedChangesList\getLineData(), and MediaWiki\RecentChanges\RCCacheEntryFactory\newFromRecentChange().

Member Data Documentation

◆ $changeLinePrefixer

callable MediaWiki\RecentChanges\ChangesList::$changeLinePrefixer
protected

◆ $commentFormatter

RowCommentFormatter MediaWiki\RecentChanges\ChangesList::$commentFormatter
protected

Definition at line 99 of file ChangesList.php.

◆ $filterGroups

ChangesListFilterGroup [] MediaWiki\RecentChanges\ChangesList::$filterGroups
protected

◆ $formattedComments

string [] MediaWiki\RecentChanges\ChangesList::$formattedComments
protected

Comments indexed by rc_id.

Definition at line 104 of file ChangesList.php.

◆ $lastdate

string MediaWiki\RecentChanges\ChangesList::$lastdate
protected

Definition at line 73 of file ChangesList.php.

◆ $linkRenderer

LinkRenderer MediaWiki\RecentChanges\ChangesList::$linkRenderer
protected

Definition at line 94 of file ChangesList.php.

◆ $message

string [] MediaWiki\RecentChanges\ChangesList::$message
protected

Definition at line 75 of file ChangesList.php.

◆ $rc_cache

array MediaWiki\RecentChanges\ChangesList::$rc_cache
protected

Definition at line 77 of file ChangesList.php.

◆ $rcCacheIndex

int MediaWiki\RecentChanges\ChangesList::$rcCacheIndex
protected

Definition at line 79 of file ChangesList.php.

◆ $rclistOpen

bool MediaWiki\RecentChanges\ChangesList::$rclistOpen
protected

Definition at line 81 of file ChangesList.php.

◆ $rcMoveIndex

int MediaWiki\RecentChanges\ChangesList::$rcMoveIndex
protected

Definition at line 83 of file ChangesList.php.

◆ $tagsCache

MapCacheLRU MediaWiki\RecentChanges\ChangesList::$tagsCache
protected

Definition at line 114 of file ChangesList.php.

◆ $userLinkCache

MapCacheLRU MediaWiki\RecentChanges\ChangesList::$userLinkCache
protected

Definition at line 119 of file ChangesList.php.

◆ $userLinkRenderer

UserLinkRenderer MediaWiki\RecentChanges\ChangesList::$userLinkRenderer
protected

Definition at line 123 of file ChangesList.php.

◆ $watchlist

bool MediaWiki\RecentChanges\ChangesList::$watchlist = false
protected

Definition at line 71 of file ChangesList.php.

Referenced by MediaWiki\RecentChanges\ChangesList\isWatchlist().

◆ $watchMsgCache

MapCacheLRU MediaWiki\RecentChanges\ChangesList::$watchMsgCache
protected

Definition at line 89 of file ChangesList.php.

◆ CSS_CLASS_PREFIX

const MediaWiki\RecentChanges\ChangesList::CSS_CLASS_PREFIX = 'mw-changeslist-'

The documentation for this class was generated from the following file: