Static Public Member Functions | |
static | record ($rc, $auto=false) |
Record a log event for a change being patrolled. | |
static | makeActionText ($title, $params, $skin) |
Generate the log action text corresponding to a patrol log item. | |
Static Private Member Functions | |
static | buildParams ($change, $auto) |
Prepare log parameters for a patrolled change. |
Definition at line 9 of file PatrolLog.php.
static PatrolLog::buildParams | ( | $ | change, | |
$ | auto | |||
) | [static, private] |
Prepare log parameters for a patrolled change.
$change | RecentChange to represent | |
$auto | Boolean: whether the patrol event was automatic |
Definition at line 81 of file PatrolLog.php.
Referenced by record().
static PatrolLog::makeActionText | ( | $ | title, | |
$ | params, | |||
$ | skin | |||
) | [static] |
Generate the log action text corresponding to a patrol log item.
$title | Title of the page that was patrolled | |
$params | Array: log parameters (from logging.log_params) | |
$skin | Skin to use for building links, etc. |
Definition at line 41 of file PatrolLog.php.
References $title, wfMsg(), wfMsgForContent(), and wfMsgHtml().
Referenced by LogPage::actionText().
static PatrolLog::record | ( | $ | rc, | |
$ | auto = false | |||
) | [static] |
Record a log event for a change being patrolled.
$rc | Mixed: change identifier or RecentChange object | |
$auto | Boolean: was this patrol event automatic? |
Definition at line 17 of file PatrolLog.php.
References $title, buildParams(), Title::makeTitleSafe(), and RecentChange::newFromId().
Referenced by Article::doEdit(), and RecentChange::doMarkPatrolled().