Index: trunk/phase3/maintenance/updateRestrictions.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | $blockEnd = $start + BATCH_SIZE - 1; |
29 | 29 | $encodedExpiry = Block::decodeExpiry(''); |
30 | 30 | 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='"; |
32 | 32 | $res = $db->select( 'page', array('page_id', 'page_restrictions'), $cond, __FUNCTION__ ); |
33 | 33 | $batch = array(); |
34 | 34 | while ( $row = $db->fetchObject( $res ) ) { |