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.
RecentChange | $change RecentChange to represent | |
bool | $auto Whether the patrol event was automatic |
Definition at line 73 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 Title of the page that was patrolled | |
array | $params Log parameters (from logging.log_params) | |
Skin | $skin Skin to use for building links, etc. |
Definition at line 41 of file PatrolLog.php.
References $text, $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.
mixed | $change Change identifier or RecentChange object | |
bool | $auto 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().