Index: branches/wmf-deployment/includes/LogPage.php |
— | — | @@ -218,12 +218,17 @@ |
219 | 219 | self::formatBlockFlags( $params[2], is_null( $skin ) ) : ''; |
220 | 220 | // Page protections |
221 | 221 | } else if ( $type == 'protect' && count($params) == 3 ) { |
| 222 | + // Restrictions and expiries |
| 223 | + if( $skin ) { |
| 224 | + $details .= htmlspecialchars( " {$params[1]}" ); |
| 225 | + } else { |
| 226 | + $details .= " {$params[1]}"; |
| 227 | + } |
| 228 | + // Cascading flag... |
222 | 229 | if( $params[2] ) { |
223 | 230 | if ( $skin ) { |
224 | | - $details .= htmlspecialchars( " {$params[1]}" ); // restrictions and expiries |
225 | 231 | $details .= ' ['.wfMsg('protect-summary-cascade').']'; |
226 | 232 | } else { |
227 | | - $details .= " {$params[1]}"; |
228 | 233 | $details .= ' ['.wfMsgForContent('protect-summary-cascade').']'; |
229 | 234 | } |
230 | 235 | } |