MediaWiki REL1_32
|
Public Member Functions | |
__construct (IContextSource $context, $messages, LinkRenderer $linkRenderer) | |
newFromRecentChange (RecentChange $baseRC, $watched) | |
Private Member Functions | |
buildCLink (RecentChange $cacheEntry) | |
buildCurLink (RecentChange $cacheEntry, $showDiffLinks, $counter) | |
buildCurQueryParams (RecentChange $recentChange) | |
buildDiffLink (RecentChange $cacheEntry, $showDiffLinks, $counter) | |
buildDiffQueryParams (RecentChange $recentChange) | |
buildLastLink (RecentChange $cacheEntry, $showDiffLinks) | |
Builds the link to the previous version. | |
buildTimestamp (RecentChange $cacheEntry) | |
getLogLink ( $logType) | |
getMessage ( $key) | |
getUserLink (RecentChange $cacheEntry) | |
showDiffLinks (RecentChange $cacheEntry, User $user) | |
Private Attributes | |
$context | |
LinkRenderer | $linkRenderer |
$messages | |
Definition at line 24 of file RCCacheEntryFactory.php.
RCCacheEntryFactory::__construct | ( | IContextSource | $context, |
$messages, | |||
LinkRenderer | $linkRenderer | ||
) |
IContextSource | $context | |
string[] | $messages | |
LinkRenderer | $linkRenderer |
Definition at line 42 of file RCCacheEntryFactory.php.
References $context, $linkRenderer, $messages, and messages.
|
private |
RecentChange | $cacheEntry |
Definition at line 107 of file RCCacheEntryFactory.php.
References $type, getLogLink(), RecentChange\getTitle(), NS_SPECIAL, RC_LOG, RC_NEW, and wfDebugLog().
Referenced by newFromRecentChange().
|
private |
RecentChange | $cacheEntry | |
bool | $showDiffLinks | |
int | $counter |
Definition at line 180 of file RCCacheEntryFactory.php.
References buildCurQueryParams(), getMessage(), RecentChange\getTitle(), and RC_LOG.
Referenced by newFromRecentChange().
|
private |
RecentChange | $recentChange |
Definition at line 165 of file RCCacheEntryFactory.php.
Referenced by buildCurLink().
|
private |
RecentChange | $cacheEntry | |
bool | $showDiffLinks | |
int | $counter |
Definition at line 215 of file RCCacheEntryFactory.php.
References buildDiffQueryParams(), RecentChange\getAttribute(), getMessage(), RecentChange\getTitle(), RC_CATEGORIZE, RC_LOG, RC_NEW, and wfDebugLog().
Referenced by newFromRecentChange().
|
private |
RecentChange | $recentChange |
Definition at line 200 of file RCCacheEntryFactory.php.
Referenced by buildDiffLink(), and buildLastLink().
|
private |
Builds the link to the previous version.
RecentChange | $cacheEntry | |
bool | $showDiffLinks |
Definition at line 249 of file RCCacheEntryFactory.php.
References $type, buildDiffQueryParams(), getMessage(), RecentChange\getTitle(), and RC_LOG.
Referenced by newFromRecentChange().
|
private |
RecentChange | $cacheEntry |
Definition at line 153 of file RCCacheEntryFactory.php.
Referenced by newFromRecentChange().
|
private |
Definition at line 135 of file RCCacheEntryFactory.php.
Referenced by buildCLink().
|
private |
string | $key |
Definition at line 295 of file RCCacheEntryFactory.php.
References messages.
Referenced by buildCurLink(), buildDiffLink(), and buildLastLink().
|
private |
RecentChange | $cacheEntry |
Definition at line 275 of file RCCacheEntryFactory.php.
References Revision\DELETED_USER, ExternalUserNames\getLocal(), ChangesList\isDeleted(), and Linker\userLink().
Referenced by newFromRecentChange().
RCCacheEntryFactory::newFromRecentChange | ( | RecentChange | $baseRC, |
$watched | |||
) |
RecentChange | $baseRC | |
bool | $watched |
Definition at line 56 of file RCCacheEntryFactory.php.
References $user, buildCLink(), buildCurLink(), buildDiffLink(), buildLastLink(), buildTimestamp(), Revision\DELETED_USER, false, getUserLink(), ChangesList\isDeleted(), ChangesList\isUnpatrolled(), RCCacheEntry\newFromParent(), RC_LOG, showDiffLinks(), and Linker\userToolLinks().
|
private |
RecentChange | $cacheEntry | |
User | $user |
Definition at line 98 of file RCCacheEntryFactory.php.
References $user, Revision\DELETED_TEXT, and ChangesList\userCan().
Referenced by newFromRecentChange().
|
private |
Definition at line 27 of file RCCacheEntryFactory.php.
Referenced by __construct().
|
private |
Definition at line 35 of file RCCacheEntryFactory.php.
Referenced by __construct().
|
private |
Definition at line 30 of file RCCacheEntryFactory.php.
Referenced by __construct().