MediaWiki  1.28.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

TestRecentChangesHelper::getCacheEntry (   $recentChange)

Definition at line 102 of file TestRecentChangesHelper.php.

TestRecentChangesHelper::getDefaultAttributes (   $titleText,
  $timestamp 
)
private
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 
)
TestRecentChangesHelper::makeDeletedEditRecentChange ( User  $user,
  $titleText,
  $timestamp,
  $curid,
  $thisid,
  $lastid,
  $counter,
  $watchingUsers 
)
TestRecentChangesHelper::makeEditRecentChange ( User  $user,
  $titleText,
  $curid,
  $thisid,
  $lastid,
  $timestamp,
  $counter,
  $watchingUsers 
)
TestRecentChangesHelper::makeLogRecentChange (   $logType,
  $logAction,
User  $user,
  $titleText,
  $timestamp,
  $counter,
  $watchingUsers 
)
TestRecentChangesHelper::makeNewBotEditRecentChange ( User  $user,
  $titleText,
  $curid,
  $thisid,
  $lastid,
  $timestamp,
  $counter,
  $watchingUsers 
)
TestRecentChangesHelper::makeRecentChange (   $attribs,
  $counter,
  $watchingUsers 
)
private

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