|
MediaWiki
REL1_23
|
Class containing static functions for working with logs of patrol events. More...
Static Public Member Functions | |
| static | record ($rc, $auto=false, User $user=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.
| static PatrolLog::buildParams | ( | $ | change, |
| $ | auto | ||
| ) | [static, private] |
Prepare log parameters for a patrolled change.
| RecentChange | $change | RecentChange to represent |
| bool | $auto | Whether the patrol event was automatic |
Definition at line 78 of file PatrolLog.php.
References array().
| static PatrolLog::record | ( | $ | rc, |
| $ | auto = false, |
||
| User $ | user = null |
||
| ) | [static] |
Record a log event for a change being patrolled.
| mixed | $rc | Change identifier or RecentChange object |
| bool | $auto | Was this patrol event automatic? |
| User | $user | User performing the action or null to use $wgUser |
Definition at line 39 of file PatrolLog.php.
References $user, $wgUser, global, and RecentChange\newFromId().