MediaWiki REL1_31
TestRecentChangesHelper Class Reference

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)
 

Detailed Description

Helper for generating test recent changes entries.

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Definition at line 10 of file TestRecentChangesHelper.php.

Member Function Documentation

◆ getCacheEntry()

TestRecentChangesHelper::getCacheEntry ( $recentChange)

Definition at line 100 of file TestRecentChangesHelper.php.

◆ getDefaultAttributes()

TestRecentChangesHelper::getDefaultAttributes ( $titleText,
$timestamp )
private

◆ getTestContext()

TestRecentChangesHelper::getTestContext ( User $user)

Definition at line 159 of file TestRecentChangesHelper.php.

References $context, and NS_SPECIAL.

◆ makeCategorizationRecentChange()

TestRecentChangesHelper::makeCategorizationRecentChange ( User $user,
$titleText,
$curid,
$thisid,
$lastid,
$timestamp )

◆ makeDeletedEditRecentChange()

TestRecentChangesHelper::makeDeletedEditRecentChange ( User $user,
$titleText,
$timestamp,
$curid,
$thisid,
$lastid,
$counter,
$watchingUsers )

Definition at line 53 of file TestRecentChangesHelper.php.

References $attribs, getDefaultAttributes(), and makeRecentChange().

◆ makeEditRecentChange()

TestRecentChangesHelper::makeEditRecentChange ( User $user,
$titleText,
$curid,
$thisid,
$lastid,
$timestamp,
$counter,
$watchingUsers )

Definition at line 12 of file TestRecentChangesHelper.php.

References $attribs, getDefaultAttributes(), and makeRecentChange().

◆ makeLogRecentChange()

TestRecentChangesHelper::makeLogRecentChange ( $logType,
$logAction,
User $user,
$titleText,
$timestamp,
$counter,
$watchingUsers )

Definition at line 29 of file TestRecentChangesHelper.php.

References $attribs, getDefaultAttributes(), and makeRecentChange().

◆ makeNewBotEditRecentChange()

TestRecentChangesHelper::makeNewBotEditRecentChange ( User $user,
$titleText,
$curid,
$thisid,
$lastid,
$timestamp,
$counter,
$watchingUsers )

Definition at line 71 of file TestRecentChangesHelper.php.

References $attribs, getDefaultAttributes(), and makeRecentChange().

◆ makeRecentChange()

TestRecentChangesHelper::makeRecentChange ( $attribs,
$counter,
$watchingUsers )
private

The documentation for this class was generated from the following file: