From: Aaron Schulz Date: Tue, 17 Jul 2007 10:27:23 +0000 (+0000) Subject: *Note cascading protection, patch by Lejonel (bug 10614) X-Git-Tag: 1.31.0-rc.0~52052 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=4df0ef4f5c990ce0dbb9b23b559adcf64ada6571;p=lhc%2Fweb%2Fwiklou.git *Note cascading protection, patch by Lejonel (bug 10614) --- diff --git a/includes/SpecialProtectedpages.php b/includes/SpecialProtectedpages.php index 3863b0fdef..7b982110e6 100644 --- a/includes/SpecialProtectedpages.php +++ b/includes/SpecialProtectedpages.php @@ -70,6 +70,10 @@ class ProtectedPagesForm { $description_items[] = $protType; + if ( $row->pr_cascade ) { + $description_items[] = wfMsg( 'protect-summary-cascade' ); + } + $expiry_description = ''; $stxt = ''; if ( $row->pr_expiry != 'infinity' && strlen($row->pr_expiry) ) { @@ -250,7 +254,7 @@ class ProtectedPagesPager extends AlphabeticPager { $conds[] = 'page_namespace=' . $this->mDb->addQuotes( $this->namespace ); return array( 'tables' => array( 'page_restrictions', 'page' ), - 'fields' => 'pr_id,page_namespace,page_title,page_len,pr_type,pr_level,pr_expiry', + 'fields' => 'pr_id,page_namespace,page_title,page_len,pr_type,pr_level,pr_expiry,pr_cascade', 'conds' => $conds ); } @@ -273,3 +277,4 @@ function wfSpecialProtectedpages() { } +