MediaWiki REL1_32
|
Class containing static functions for working with logs of patrol events. More...
Static Public Member Functions | |
static | record ( $rc, $auto=false, User $user=null, $tags=null) |
Record a log event for a change being patrolled. | |
Static Private Member Functions | |
static | buildParams ( $change, $auto) |
Prepare log parameters for a patrolled change. | |
Class containing static functions for working with logs of patrol events.
Definition at line 29 of file PatrolLog.php.
|
staticprivate |
Prepare log parameters for a patrolled change.
RecentChange | $change | RecentChange to represent |
bool | $auto | Whether the patrol event was automatic |
Definition at line 82 of file PatrolLog.php.
References $auto.
|
static |
Record a log event for a change being patrolled.
int | RecentChange | $rc | Change identifier or RecentChange object |
bool | $auto | Was this patrol event automatic? |
User | null | $user | User performing the action or null to use $wgUser |
string | string[] | null | $tags | Change tags to add to the patrol log entry ($user should be able to add the specified tags before this is called) |
Definition at line 42 of file PatrolLog.php.
References $auto.
Referenced by RecentChange\doMarkPatrolled().