MediaWiki  REL1_19
PatrolLog Class Reference

Class containing static functions for working with logs of patrol events. More...

List of all members.

Static Public Member Functions

static record ($rc, $auto=false)
 Record a log event for a change being patrolled.

Static Private Member Functions

static buildParams ($change, $auto)
 Prepare log parameters for a patrolled change.

Detailed Description

Class containing static functions for working with logs of patrol events.

Author:
Rob Church <[email protected]>
Niklas Laxström

Definition at line 10 of file PatrolLog.php.


Member Function Documentation

static PatrolLog::buildParams ( change,
auto 
) [static, private]

Prepare log parameters for a patrolled change.

Parameters:
$changeRecentChange to represent
$autoBoolean: whether the patrol event was automatic
Returns:
Array

Definition at line 50 of file PatrolLog.php.

static PatrolLog::record ( rc,
auto = false 
) [static]

Record a log event for a change being patrolled.

Parameters:
$rcMixed: change identifier or RecentChange object
$autoBoolean: was this patrol event automatic?
Returns:
bool

Definition at line 20 of file PatrolLog.php.

References $title, false, Title\makeTitleSafe(), RecentChange\newFromId(), and User\newFromName().

Referenced by WikiPage\doEdit(), and RecentChange\doMarkPatrolled().

Here is the call graph for this function:

Here is the caller graph for this function:


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