MediaWiki  1.30.0
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, $title, $user, Title\newFromText(), 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 
)

◆ makeEditRecentChange()

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

◆ makeLogRecentChange()

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

◆ makeNewBotEditRecentChange()

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

◆ makeRecentChange()

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

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