'log_user_text' => $this->doer->getName(),
'log_namespace' => $this->target->getNamespace(),
'log_title' => $this->target->getDBkey(),
+ 'log_page' => $this->target->getArticleId(),
'log_comment' => $this->comment,
'log_params' => $this->params
);
self::formatBlockFlags( $params[2], is_null( $skin ) ) : '';
// Page protections
} else if ( $type == 'protect' && count($params) == 3 ) {
+ // Restrictions and expiries
+ if( $skin ) {
+ $details .= htmlspecialchars( " {$params[1]}" );
+ } else {
+ $details .= " {$params[1]}";
+ }
+ // Cascading flag...
if( $params[2] ) {
if ( $skin ) {
- $details .= htmlspecialchars( " {$params[1]}" ); // restrictions and expiries
$details .= ' ['.wfMsg('protect-summary-cascade').']';
} else {
- $details .= " {$params[1]}";
$details .= ' ['.wfMsgForContent('protect-summary-cascade').']';
}
}