* Removed "- 1" when incrementing $blockStart and $blockEnd so that LOG_SEARCH_BATCH_SIZE is respected
<?php
/**
- * Makes the required database updates for Special:ProtectedPages
- * to show all protected pages, even ones before the page restrictions
- * schema change. All remaining page_restriction column values are moved
- * to the new table.
+ * Makes the required database updates for log display in Special:RevisionDelete
*
* Run via update.php or directly through populateLogSearch.php
*
}
}
}
- $blockStart += LOG_SEARCH_BATCH_SIZE - 1;
- $blockEnd += LOG_SEARCH_BATCH_SIZE - 1;
+ $blockStart += LOG_SEARCH_BATCH_SIZE;
+ $blockEnd += LOG_SEARCH_BATCH_SIZE;
wfWaitForSlaves( 5 );
}
if( $db->insert(