MediaWiki
1.27.1
|
Public Member Functions | |
__construct (IContextSource $context, $messages) | |
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) | |
buildTimestamp (RecentChange $cacheEntry) | |
getLogLink ($logType) | |
getMessage ($key) | |
getUserLink (RecentChange $cacheEntry) | |
showDiffLinks (RecentChange $cacheEntry, User $user) | |
Private Attributes | |
$context | |
$messages | |
Definition at line 23 of file RCCacheEntryFactory.php.
RCCacheEntryFactory::__construct | ( | IContextSource | $context, |
$messages | |||
) |
IContextSource | $context | |
string[] | $messages |
Definition at line 35 of file RCCacheEntryFactory.php.
|
private |
RecentChange | $cacheEntry |
Definition at line 97 of file RCCacheEntryFactory.php.
References $type, getLogLink(), RecentChange\getTitle(), Linker\link(), Linker\linkKnown(), NS_SPECIAL, RC_LOG, RC_NEW, and wfDebugLog().
Referenced by newFromRecentChange().
|
private |
RecentChange | $cacheEntry | |
bool | $showDiffLinks | |
int | $counter |
Definition at line 168 of file RCCacheEntryFactory.php.
References buildCurQueryParams(), getMessage(), RecentChange\getTitle(), and RC_LOG.
Referenced by newFromRecentChange().
|
private |
RecentChange | $recentChange |
Definition at line 153 of file RCCacheEntryFactory.php.
Referenced by buildCurLink().
|
private |
RecentChange | $cacheEntry | |
bool | $showDiffLinks | |
int | $counter |
Definition at line 203 of file RCCacheEntryFactory.php.
References buildDiffQueryParams(), RecentChange\getAttribute(), getMessage(), RecentChange\getTitle(), Title\newFromID(), RC_CATEGORIZE, RC_LOG, RC_NEW, and wfDebugLog().
Referenced by newFromRecentChange().
|
private |
RecentChange | $recentChange |
Definition at line 188 of file RCCacheEntryFactory.php.
Referenced by buildDiffLink(), and buildLastLink().
|
private |
RecentChange | $cacheEntry | |
bool | $showDiffLinks |
Definition at line 235 of file RCCacheEntryFactory.php.
References $type, buildDiffQueryParams(), getMessage(), RecentChange\getTitle(), Linker\linkKnown(), and RC_LOG.
Referenced by newFromRecentChange().
|
private |
RecentChange | $cacheEntry |
Definition at line 141 of file RCCacheEntryFactory.php.
Referenced by newFromRecentChange().
|
private |
Definition at line 125 of file RCCacheEntryFactory.php.
References SpecialPage\getTitleFor(), and Linker\linkKnown().
Referenced by buildCLink().
|
private |
string | $key |
Definition at line 280 of file RCCacheEntryFactory.php.
References $key, and messages.
Referenced by buildCurLink(), buildDiffLink(), and buildLastLink().
|
private |
RecentChange | $cacheEntry |
Definition at line 261 of file RCCacheEntryFactory.php.
References Revision\DELETED_USER, ChangesList\isDeleted(), and Linker\userLink().
Referenced by newFromRecentChange().
RCCacheEntryFactory::newFromRecentChange | ( | RecentChange | $baseRC, |
$watched | |||
) |
RecentChange | $baseRC | |
bool | $watched |
Definition at line 46 of file RCCacheEntryFactory.php.
References $user, buildCLink(), buildCurLink(), buildDiffLink(), buildLastLink(), buildTimestamp(), Revision\DELETED_USER, getUserLink(), ChangesList\isDeleted(), ChangesList\isUnpatrolled(), RCCacheEntry\newFromParent(), RC_LOG, showDiffLinks(), and Linker\userToolLinks().
|
private |
RecentChange | $cacheEntry | |
User | $user |
Definition at line 88 of file RCCacheEntryFactory.php.
References Revision\DELETED_TEXT, and ChangesList\userCan().
Referenced by newFromRecentChange().
|
private |
Definition at line 26 of file RCCacheEntryFactory.php.
Referenced by __construct().
|
private |
Definition at line 29 of file RCCacheEntryFactory.php.
Referenced by __construct().