MediaWiki
1.28.0
|
Helper for generating test recent changes entries. More...
Public Member Functions | |
getCacheEntry ($recentChange) | |
getTestContext (User $user) | |
makeCategorizationRecentChange (User $user, $titleText, $curid, $thisid, $lastid, $timestamp) | |
makeDeletedEditRecentChange (User $user, $titleText, $timestamp, $curid, $thisid, $lastid, $counter, $watchingUsers) | |
makeEditRecentChange (User $user, $titleText, $curid, $thisid, $lastid, $timestamp, $counter, $watchingUsers) | |
makeLogRecentChange ($logType, $logAction, User $user, $titleText, $timestamp, $counter, $watchingUsers) | |
makeNewBotEditRecentChange (User $user, $titleText, $curid, $thisid, $lastid, $timestamp, $counter, $watchingUsers) | |
Private Member Functions | |
getDefaultAttributes ($titleText, $timestamp) | |
makeRecentChange ($attribs, $counter, $watchingUsers) | |
Helper for generating test recent changes entries.
Definition at line 10 of file TestRecentChangesHelper.php.
TestRecentChangesHelper::getCacheEntry | ( | $recentChange | ) |
Definition at line 102 of file TestRecentChangesHelper.php.
|
private |
Definition at line 133 of file TestRecentChangesHelper.php.
References $timestamp.
Referenced by makeCategorizationRecentChange(), makeDeletedEditRecentChange(), makeEditRecentChange(), makeLogRecentChange(), and makeNewBotEditRecentChange().
TestRecentChangesHelper::getTestContext | ( | User | $user | ) |
Definition at line 158 of file TestRecentChangesHelper.php.
References $context, $title, Title\newFromText(), and NS_SPECIAL.
TestRecentChangesHelper::makeCategorizationRecentChange | ( | User | $user, |
$titleText, | |||
$curid, | |||
$thisid, | |||
$lastid, | |||
$timestamp | |||
) |
Definition at line 111 of file TestRecentChangesHelper.php.
References $attribs, $timestamp, getDefaultAttributes(), User\getId(), User\getName(), makeRecentChange(), and RC_CATEGORIZE.
TestRecentChangesHelper::makeDeletedEditRecentChange | ( | User | $user, |
$titleText, | |||
$timestamp, | |||
$curid, | |||
$thisid, | |||
$lastid, | |||
$counter, | |||
$watchingUsers | |||
) |
Definition at line 54 of file TestRecentChangesHelper.php.
References $attribs, $timestamp, getDefaultAttributes(), User\getId(), User\getName(), and makeRecentChange().
TestRecentChangesHelper::makeEditRecentChange | ( | User | $user, |
$titleText, | |||
$curid, | |||
$thisid, | |||
$lastid, | |||
$timestamp, | |||
$counter, | |||
$watchingUsers | |||
) |
Definition at line 12 of file TestRecentChangesHelper.php.
References $attribs, $timestamp, getDefaultAttributes(), User\getId(), User\getName(), and makeRecentChange().
TestRecentChangesHelper::makeLogRecentChange | ( | $logType, | |
$logAction, | |||
User | $user, | ||
$titleText, | |||
$timestamp, | |||
$counter, | |||
$watchingUsers | |||
) |
Definition at line 30 of file TestRecentChangesHelper.php.
References $attribs, $timestamp, getDefaultAttributes(), User\getId(), User\getName(), and makeRecentChange().
TestRecentChangesHelper::makeNewBotEditRecentChange | ( | User | $user, |
$titleText, | |||
$curid, | |||
$thisid, | |||
$lastid, | |||
$timestamp, | |||
$counter, | |||
$watchingUsers | |||
) |
Definition at line 72 of file TestRecentChangesHelper.php.
References $attribs, $timestamp, getDefaultAttributes(), User\getId(), User\getName(), and makeRecentChange().
|
private |
Definition at line 93 of file TestRecentChangesHelper.php.
References $attribs.
Referenced by makeCategorizationRecentChange(), makeDeletedEditRecentChange(), makeEditRecentChange(), makeLogRecentChange(), and makeNewBotEditRecentChange().