MediaWiki REL1_34
|
Public Member Functions | |
__construct (IContextSource $context, $messages, LinkRenderer $linkRenderer) | |
newFromRecentChange (RecentChange $baseRC, $watched) | |
Private Member Functions | |
buildCLink (RCCacheEntry $cacheEntry) | |
buildCurLink (RecentChange $cacheEntry, $showDiffLinks) | |
buildCurQueryParams (RecentChange $recentChange) | |
buildDiffLink (RecentChange $cacheEntry, $showDiffLinks) | |
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 25 of file RCCacheEntryFactory.php.
RCCacheEntryFactory::__construct | ( | IContextSource | $context, |
$messages, | |||
LinkRenderer | $linkRenderer ) |
IContextSource | $context | |
string[] | $messages | |
LinkRenderer | $linkRenderer |
Definition at line 43 of file RCCacheEntryFactory.php.
References $context, $linkRenderer, and $messages.
|
private |
RCCacheEntry | $cacheEntry |
Definition at line 115 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 |
Definition at line 187 of file RCCacheEntryFactory.php.
References buildCurQueryParams(), getMessage(), RecentChange\getTitle(), and RC_LOG.
Referenced by newFromRecentChange().
|
private |
RecentChange | $recentChange |
Definition at line 173 of file RCCacheEntryFactory.php.
Referenced by buildCurLink().
|
private |
RecentChange | $cacheEntry | |
bool | $showDiffLinks |
Definition at line 221 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 207 of file RCCacheEntryFactory.php.
Referenced by buildDiffLink(), and buildLastLink().
|
private |
Builds the link to the previous version.
RecentChange | $cacheEntry | |
bool | $showDiffLinks |
Definition at line 255 of file RCCacheEntryFactory.php.
References $type, buildDiffQueryParams(), getMessage(), RecentChange\getTitle(), and RC_LOG.
Referenced by newFromRecentChange().
|
private |
RecentChange | $cacheEntry |
Definition at line 161 of file RCCacheEntryFactory.php.
Referenced by newFromRecentChange().
|
private |
Definition at line 143 of file RCCacheEntryFactory.php.
Referenced by buildCLink().
|
private |
string | $key |
Definition at line 301 of file RCCacheEntryFactory.php.
Referenced by buildCurLink(), buildDiffLink(), and buildLastLink().
|
private |
RecentChange | $cacheEntry |
Definition at line 281 of file RCCacheEntryFactory.php.
References ExternalUserNames\getLocal(), ChangesList\isDeleted(), and Linker\userLink().
Referenced by newFromRecentChange().
RCCacheEntryFactory::newFromRecentChange | ( | RecentChange | $baseRC, |
$watched ) |
RecentChange | $baseRC | |
bool | $watched |
Definition at line 57 of file RCCacheEntryFactory.php.
References buildCLink(), buildCurLink(), buildDiffLink(), buildLastLink(), buildTimestamp(), getUserLink(), ChangesList\isDeleted(), ChangesList\isUnpatrolled(), RCCacheEntry\newFromParent(), RC_LOG, showDiffLinks(), and Linker\userToolLinks().
|
private |
RecentChange | $cacheEntry | |
User | $user |
Definition at line 106 of file RCCacheEntryFactory.php.
References ChangesList\userCan().
Referenced by newFromRecentChange().
|
private |
Definition at line 28 of file RCCacheEntryFactory.php.
Referenced by __construct().
|
private |
Definition at line 36 of file RCCacheEntryFactory.php.
Referenced by __construct().
|
private |
Definition at line 31 of file RCCacheEntryFactory.php.
Referenced by __construct().