MediaWiki REL1_35
|
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) |
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 |
Definition at line 79 of file PatrolLog.php.
|
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 (null to use $wgUser is deprecated since 1.35) |
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 43 of file PatrolLog.php.
References wfDeprecated().
Referenced by RecentChange\doMarkPatrolled().