r21765 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21764‎ | r21765 | r21766 >
Date:18:58, 1 May 2007
Author:aaron
Status:old
Tags:
Comment:
*Ignore 'edit=:move='
Modified paths:
  • /trunk/phase3/maintenance/updateRestrictions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updateRestrictions.php
@@ -27,7 +27,7 @@
2828 $blockEnd = $start + BATCH_SIZE - 1;
2929 $encodedExpiry = Block::decodeExpiry('');
3030 while ( $blockEnd <= $end ) {
31 - $cond = "page_id BETWEEN $blockStart AND $blockEnd AND page_restrictions !=''";
 31+ $cond = "page_id BETWEEN $blockStart AND $blockEnd AND page_restrictions !='' AND page_restrictions !='edit=:move='";
3232 $res = $db->select( 'page', array('page_id', 'page_restrictions'), $cond, __FUNCTION__ );
3333 $batch = array();
3434 while ( $row = $db->fetchObject( $res ) ) {