r24195 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24194‎ | r24195 | r24196 >
Date:10:27, 17 July 2007
Author:aaron
Status:old
Tags:
Comment:
*Note cascading protection, patch by Lejonel (bug 10614)
Modified paths:
  • /trunk/phase3/includes/SpecialProtectedpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialProtectedpages.php
@@ -70,6 +70,10 @@
7171
7272 $description_items[] = $protType;
7373
 74+ if ( $row->pr_cascade ) {
 75+ $description_items[] = wfMsg( 'protect-summary-cascade' );
 76+ }
 77+
7478 $expiry_description = ''; $stxt = '';
7579
7680 if ( $row->pr_expiry != 'infinity' && strlen($row->pr_expiry) ) {
@@ -250,7 +254,7 @@
251255 $conds[] = 'page_namespace=' . $this->mDb->addQuotes( $this->namespace );
252256 return array(
253257 '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',
255259 'conds' => $conds
256260 );
257261 }
@@ -273,3 +277,4 @@
274278 }
275279
276280
 281+

Follow-up revisions

RevisionCommit summaryAuthorDate
r24215Merged revisions 24095-24212 via svnmerge from...david21:19, 17 July 2007

Status & tagging log