MediaWiki REL1_31
|
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, and $messages.
|
private |
RecentChange | $cacheEntry |
Definition at line 107 of file RCCacheEntryFactory.php.
References $type, getLogLink(), 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(), 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(), getMessage(), 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(), 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 294 of file RCCacheEntryFactory.php.
Referenced by buildCurLink(), buildDiffLink(), and buildLastLink().
|
private |
RecentChange | $cacheEntry |
Definition at line 275 of file RCCacheEntryFactory.php.
References 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 buildCLink(), buildCurLink(), buildDiffLink(), buildLastLink(), buildTimestamp(), 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 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().