Index: trunk/phase3/maintenance/populateLogSearch.inc |
— | — | @@ -1,9 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * Makes the required database updates for Special:ProtectedPages |
5 | | - * to show all protected pages, even ones before the page restrictions |
6 | | - * schema change. All remaining page_restriction column values are moved |
7 | | - * to the new table. |
| 4 | + * Makes the required database updates for log display in Special:RevisionDelete |
8 | 5 | * |
9 | 6 | * Run via update.php or directly through populateLogSearch.php |
10 | 7 | * |
— | — | @@ -60,8 +57,8 @@ |
61 | 58 | } |
62 | 59 | } |
63 | 60 | } |
64 | | - $blockStart += LOG_SEARCH_BATCH_SIZE - 1; |
65 | | - $blockEnd += LOG_SEARCH_BATCH_SIZE - 1; |
| 61 | + $blockStart += LOG_SEARCH_BATCH_SIZE; |
| 62 | + $blockEnd += LOG_SEARCH_BATCH_SIZE; |
66 | 63 | wfWaitForSlaves( 5 ); |
67 | 64 | } |
68 | 65 | if( $db->insert( |