Index: trunk/phase3/includes/SpecialProtectedpages.php |
— | — | @@ -70,6 +70,10 @@ |
71 | 71 | |
72 | 72 | $description_items[] = $protType; |
73 | 73 | |
| 74 | + if ( $row->pr_cascade ) { |
| 75 | + $description_items[] = wfMsg( 'protect-summary-cascade' ); |
| 76 | + } |
| 77 | + |
74 | 78 | $expiry_description = ''; $stxt = ''; |
75 | 79 | |
76 | 80 | if ( $row->pr_expiry != 'infinity' && strlen($row->pr_expiry) ) { |
— | — | @@ -250,7 +254,7 @@ |
251 | 255 | $conds[] = 'page_namespace=' . $this->mDb->addQuotes( $this->namespace ); |
252 | 256 | return array( |
253 | 257 | 'tables' => array( 'page_restrictions', 'page' ), |
254 | | - 'fields' => 'pr_id,page_namespace,page_title,page_len,pr_type,pr_level,pr_expiry', |
| 258 | + 'fields' => 'pr_id,page_namespace,page_title,page_len,pr_type,pr_level,pr_expiry,pr_cascade', |
255 | 259 | 'conds' => $conds |
256 | 260 | ); |
257 | 261 | } |
— | — | @@ -273,3 +277,4 @@ |
274 | 278 | } |
275 | 279 | |
276 | 280 | |
| 281 | + |