MediaWiki
1.30.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 100 of file TestRecentChangesHelper.php.
|
private |
Definition at line 132 of file TestRecentChangesHelper.php.
Referenced by makeCategorizationRecentChange(), makeDeletedEditRecentChange(), makeEditRecentChange(), makeLogRecentChange(), and makeNewBotEditRecentChange().
TestRecentChangesHelper::getTestContext | ( | User | $user | ) |
Definition at line 159 of file TestRecentChangesHelper.php.
References $context, $title, $user, Title\newFromText(), and NS_SPECIAL.
TestRecentChangesHelper::makeCategorizationRecentChange | ( | User | $user, |
$titleText, | |||
$curid, | |||
$thisid, | |||
$lastid, | |||
$timestamp | |||
) |
Definition at line 109 of file TestRecentChangesHelper.php.
References $attribs, $user, getDefaultAttributes(), makeRecentChange(), and RC_CATEGORIZE.
TestRecentChangesHelper::makeDeletedEditRecentChange | ( | User | $user, |
$titleText, | |||
$timestamp, | |||
$curid, | |||
$thisid, | |||
$lastid, | |||
$counter, | |||
$watchingUsers | |||
) |
Definition at line 53 of file TestRecentChangesHelper.php.
References $attribs, $user, getDefaultAttributes(), and makeRecentChange().
TestRecentChangesHelper::makeEditRecentChange | ( | User | $user, |
$titleText, | |||
$curid, | |||
$thisid, | |||
$lastid, | |||
$timestamp, | |||
$counter, | |||
$watchingUsers | |||
) |
Definition at line 12 of file TestRecentChangesHelper.php.
References $attribs, $user, getDefaultAttributes(), and makeRecentChange().
TestRecentChangesHelper::makeLogRecentChange | ( | $logType, | |
$logAction, | |||
User | $user, | ||
$titleText, | |||
$timestamp, | |||
$counter, | |||
$watchingUsers | |||
) |
Definition at line 29 of file TestRecentChangesHelper.php.
References $attribs, $user, getDefaultAttributes(), and makeRecentChange().
TestRecentChangesHelper::makeNewBotEditRecentChange | ( | User | $user, |
$titleText, | |||
$curid, | |||
$thisid, | |||
$lastid, | |||
$timestamp, | |||
$counter, | |||
$watchingUsers | |||
) |
Definition at line 71 of file TestRecentChangesHelper.php.
References $attribs, $user, getDefaultAttributes(), and makeRecentChange().
|
private |
Definition at line 91 of file TestRecentChangesHelper.php.
References $attribs.
Referenced by makeCategorizationRecentChange(), makeDeletedEditRecentChange(), makeEditRecentChange(), makeLogRecentChange(), and makeNewBotEditRecentChange().