MediaWiki REL1_35
|
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 116 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 188 of file RCCacheEntryFactory.php.
References buildCurQueryParams(), getMessage(), RecentChange\getTitle(), and RC_LOG.
Referenced by newFromRecentChange().
|
private |
RecentChange | $recentChange |
Definition at line 174 of file RCCacheEntryFactory.php.
Referenced by buildCurLink().
|
private |
RecentChange | $cacheEntry | |
bool | $showDiffLinks |
Definition at line 222 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 208 of file RCCacheEntryFactory.php.
Referenced by buildDiffLink(), and buildLastLink().
|
private |
Builds the link to the previous version.
RecentChange | $cacheEntry | |
bool | $showDiffLinks |
Definition at line 256 of file RCCacheEntryFactory.php.
References $type, buildDiffQueryParams(), getMessage(), RecentChange\getTitle(), and RC_LOG.
Referenced by newFromRecentChange().
|
private |
RecentChange | $cacheEntry |
Definition at line 162 of file RCCacheEntryFactory.php.
Referenced by newFromRecentChange().
|
private |
Definition at line 144 of file RCCacheEntryFactory.php.
References SpecialPage\getTitleFor().
Referenced by buildCLink().
|
private |
string | $key |
Definition at line 302 of file RCCacheEntryFactory.php.
Referenced by buildCurLink(), buildDiffLink(), and buildLastLink().
|
private |
RecentChange | $cacheEntry |
Definition at line 282 of file RCCacheEntryFactory.php.
References 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(), RCCacheEntry\newFromParent(), RC_LOG, showDiffLinks(), and Linker\userToolLinks().
|
private |
RecentChange | $cacheEntry | |
User | $user |
Definition at line 107 of file RCCacheEntryFactory.php.
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().